GridView1.DataSource=command.executeReader();
GridView1.DataBind();
How to data in gridview ?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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 attend4days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Aug 21, 2013, 11:09 PM EDT
What the error you are getting..
try like this:
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 21, 2013, 11:35 PM EDT
Try like this
private void LoadData()
{
Regards,
Iftikar