| Author: varun 05 Sep 2008 | Member Level: Gold | Rating: Points: 2 |
Gridview is a databound control, you have to bind it with a data, either by code or by design view. By code as you know using databind By design view, add sqldataadapter control, set the data to datasource and in the gridview datsource property set datasource to that sqldataadapter.
|
| Author: ANIL PANDEY 05 Sep 2008 | Member Level: Diamond | Rating: Points: 2 |
u can not bind the GRID VIEW with out using the BIND() because the GRID VIEW is a control where we Bind the records..
for binding the records either we can use the DATA TABLE or we can use the DATA SET to bind the GRID VIEW...
Thnaks Anil
Thanks & Regards Anil Kumar Pandey
|