|
Hi,
I am very fascinated towards creating Wiki. Any good article or suggestion how to it with ASP.Net. I dont have much about wiki's from where I should start??
|
|
|
|
|
Actually, there are a lot of C# Wiki engines on the net.. Why don't you pick one ?? As those are the opensource projects, you can read their source code...
Open Source Wiki Engines in C#[^]
|
|
|
|
|
Thanks!!!
You are welcome with any other suggestion also...
|
|
|
|
|
Hi
This is krishna veer singh working in a product based company.
we have made a product "xyz". This product is also available in market by some other comapnies. Now i want to fetch programmatically the price of that produt which are available in the market by some other companies. So that accordingly we can decrease and increase the price of our product. I'm using asp.net2.0.
Plese help me as soon as possible...
Thanx....
krishna veer singh
|
|
|
|
|
It depends on various factors. If some other companies (as you say) publish their selling price on the net then you can get it from your project.
|
|
|
|
|
Thank you for your reply.
Will u plese give me some idea that how i can get that price in my project?
krishna veer singh
|
|
|
|
|
krishnaveer wrote: how i can get that price in my project
Are they going to publish their prices on the net? If they are publishing their prices in RSS format, you can use RSS framework to read their feeds and show them in your project..
|
|
|
|
|
Hi Michael,
If possible please give me some links related to my problem so that i can understand that what exactly i need to do.
Thanks
krishna veer singh
|
|
|
|
|
hi friends
what is difference between .net framework1.1 and .net framework2.0
regards
sarav anan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
|
It is a repost of JOTD.
Vasudevan Deepak Kumar
Personal Homepage
Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
.9
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
There is any project file in .net2005?? If so where it is saved?
Thanks and Regards
|
|
|
|
|
There is no project file in .NET 2005.
In ASP.NET 1.1, the configuration information of project used to store in *.csproj. If it’s a web project, the URL part is saved in *.webinfo. But it has been changed in ASP.NET 2.0. All of project configuration, path (both absolute part or virtual part) are stored in *.sln file only. So, the project file is not required anymore..
Ref: Some interesting ASP.NET 2.0 FAQ[^]
|
|
|
|
|
i have a gride view with details of index-no and name.. now i selected one of the row in the grideview ...the selected row values should get in the textboxes how it is possible
|
|
|
|
|
U will have to use the event RowCommand of GridView and use this to get the values:
GridViewRow oGridViewRow;
if(e.CommandName == "Edit")
{
Int32 index = Convert.ToInt32(e.CommandArgument);
oGridViewRow = GridView1.Rows[index];
TextBox1.Text = oGridViewRow.Cells[1].Text;
TextBox2Text = oGridViewRow.Cells[2].Text;
}
Hope this helps u?
|
|
|
|
|
sir its working if and only the eidt row select in properties is set to true ...but the edit option should not shown in the gride view simple by selecting the row with the mouse the row should be selected in the grid view and the values shouls be retrived
|
|
|
|
|
Can u please post ur code what exactly u r doing???
|
|
|
|
|
sir iam having grid view with some data in it .now my aim is if i select any row in the grid view that selected row values should be retrived. ur solutioon is working iff we enable auto generate row =true
|
|
|
|
|
I dont think there anything called autogeneraterow which u r saying I think theer is something autogeneratecolumns. What exactly do u mean by select any row in the gridview, how u r selecting the row??????
|
|
|
|
|
sorry its auto generate edit
|
|
|
|
|
Can u please post ur aspx code so that I can help u in a better way????
|
|
|
|
|
public partial class _Default : System.Web.UI.Page
{
DataTable dt ;
DataColumn dcindex;
DataColumn dcname;
DataRow dr;
protected void Page_Load(object sender, EventArgs e)
{
txtname.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + btngetdata.UniqueID + "').click();return false;}} else {return true}; ");
if (IsPostBack == false)
{
for (int i = 0; i < 4; i++)
{
ddl.Items.Add("index" + (i + 1));
}
ddl.SelectedIndex = 1;
}
txtname.Focus();
txtname.Focus();
Panel2.Visible = false;
}
protected void message1(string msg)
{
Label lbl = new Label();
lbl.Text = "window.alert('" + msg + "')";
Page.Controls.Add(lbl);
}
protected void btngetdata_Click(object sender, EventArgs e)
{
try
{
Panel2.Visible = true;
txtname.Focus();
if (ddl.SelectedIndex >= 4)
ddl.SelectedIndex = 4;
if ((ViewState["datatable"]) == null)
{
dt = new DataTable();
dcindex = new DataColumn("index", typeof(string));
dcname = new DataColumn("name", typeof(string));
dt.Columns.Add(dcindex);
dt.Columns.Add(dcname);
}
else
dt = (DataTable)ViewState["datatable"];
dr = dt.NewRow();
if (ddl.SelectedIndex == 0 || txtname.Text == "")
{
message1("Either u have not selected index value nor NameField is empty");
}
else
{
dr["index"] = ddl.SelectedItem.ToString();
dr["name"] = txtname.Text;
dt.Rows.Add(dr);
gv.DataSource = dt;
gv.DataBind();
txtname.Text = "";
ViewState["datatable"] = dt;
if (ddl.SelectedIndex < 4)
ddl.SelectedIndex = ddl.SelectedIndex + 1;
else
{
ddl.SelectedIndex = 1;
}
}
}
catch (Exception ee)
{
Response.Write(ee.Message);
}
}
protected void ddl_SelectedIndexChanged(object sender, EventArgs e)
{
Panel2.Visible = true;
txtname.Focus();
if(txtname.Text !="")
Panel2.Visible = true;
}
i kept one drop downlist and text box whern ever i select index and write name in the textbox it should get in the grideview and when ever i select some row in the grid view it should get in the drop down list and textbox
|
|
|
|
|
I think u want the dropdownlist and textbox inside GridView?? If that is so then u will have to use Template Column of GridView. Take help of the following Link : www.gridviewguy.com/Articles.aspx
|
|
|
|
|
I have been looking on Google for a while now looking for the scope of the Session object. A few sites touch base on the subject and then go straight to global variables and other random things.
What is the scope of a session object?
I have a frames page, containing 4 frames, all aspx pages. If I create a session object in one page, can I access that data on another one of those pages using the session object?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|