hi friends..
can anybody tell me how to display data from database to datagrid view in asp.net using c
i used datagrid.datasource=dataset.tables[0];
datagrid.databind();
but i can see data in gridview........
plz help me
Display data in gridview
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Mar 19, 2011, 12:39 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Mar 19, 2011, 12:51 PM EDT
kalpa vachhani30 reputationPosted Mar 19, 2011, 8:57 PM EDT
1) Your dataset dont have datatable in it
2)Your Table should contain data