C#.Net ASP (Urgent)
-
Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.
|Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com
-
Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.
|Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com
i think this is u r trying to ask ..from drpdwn list drpdwn1.selecteditem.value is AC id and drpdwn1.selecteditem.text is AC header plz,dont put "URGENT" in posting queries.. -- modified at 5:29 Saturday 7th July, 2007
All I ever wanted is what others have....
CrazySanker -
Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.
|Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com
Don't cross post. You asked this same question in the C# forum.
"That's no moon, it's a space station." - Obi-wan Kenobi