2
Reply

how to retrive a data From database into the grid view..?

Brijesh Jalan

Brijesh Jalan

14y
4.7k
0
Reply

    You can display data in a gridview automatically by binding to a data source using the DataSourceID property. You can also bind using the DataSource property in which you will be binding to ADO.NET objects like datatable or datasets . Because you do this in code , this is more of a manual process.

    By using gridview1.datasource=ds.tables(0)
    here gridview1 is the object of gridview control