Hi,
Please help me to genarate dynamic dataset.
Example i have asp.net page which contains one selection list, if i select one item from the list, according to that data need to be retrived from the data set.
thanks in advance
regards,
Rajesh.A
Hi,
Please help me to genarate dynamic dataset.
Example i have asp.net page which contains one selection list, if i select one item from the list, according to that data need to be retrived from the data set.
thanks in advance
regards,
Rajesh.A
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Santhosh VeeraramanRank #1,369 · 1.2K reputationPosted May 2, 2008, 2:12 AM EDT
Two ways. Either hit the database in the selected_change event of your list control. (whatever control you are using) or hold all the data (if the data is not huge) in a dataset upfront and filter it based on your requirement.
DataSet
ds = new DataSet();DataTable dt = ds.Tables[0];
DataRow[] rows = dt.Select("name like '%Santhosh%' order by id"); - This will save data traffic and increase performance.