i have a tabe (Employee) which have 4 coloumns (empID,Name,Age,salary).
now i have filled data in dropdownlist. datatext field is Name and datavaluefield is EmpID.
Now i have disposed dataset object ds.
now hw cn i get salary of selected employee from dropdownlist without interecting with database. i dont wnt to fire any query again to database. i wnt to take infromation abt salary from table that is bind with dropdown list
ddlEmployee.DataSource = ds.table[0];
ddlEmployee.DataTextField = "Name";
ddlEmployee.DataValueField = "EmpID";
ddlEmployee.DataBind();
ddlEmployee.Items.Insert(0, "select");
pls help me
Thank you
Loading

Mayur DigheRank #1,078 · 1.8K reputationPosted Sep 1, 2011, 7:00 AM EDT
VulpesRank #55 · 29.2K reputationPosted Sep 1, 2011, 8:04 AM EDT
Surendra singh126 reputationPosted Sep 2, 2011, 8:59 PM EDT