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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ketan borsdiyaPosted Sep 2, 2016, 12:41 AM
Bikesh SrivastavaPosted Sep 1, 2016, 11:07 PM
Midhun TpPosted Sep 1, 2016, 10:03 PM
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/