How I can set datasource of DataList to a DataSet.
I am firstly fetching the data from DB using LIKE operators and want to perform EDIT,Delete operation on it using DataList or FormView.
How can i achieve it ?
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
Midhun TpRank #388 · 6.5K reputationPosted Sep 1, 2016, 6:03 PM EDT
Suppose ds is the dataset, then
Datalistid.DataSource=ds;
Datalistid.DataBind();
For more details of datalist, just go through below links -
http://www.c-sharpcorner.com/uploadfile/6f848f/datalist-with-paging-in-C-Sharp/
http://www.c-sharpcorner.com/uploadfile/718fc8/paging-in-datalist-control/
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Sep 1, 2016, 7:07 PM EDT
ketan borsdiyaRank #2,258 · 624 reputationPosted Sep 1, 2016, 8:41 PM EDT