C gridview updating

21 Mar

Net is useful for displaying large data in a tabular format.

I have previously posted an article on how to insert new rows in database using a Grid View.

In this article, we will explore how to add, update, delete and select a record from sql server database using gridview control in a simple way.

I’m using visual studio 2008 and sql server 2008 for this sample.

In the previous article , we learned how to create a simple Grid View at runtime .

The displayed table is equiped with sorting and pagination functionality.

In order to selectively display attributes with different formats, we may configure the CGrid View::columns property.

In general, gridview control is used to populate the data in tabular format from different datasources and basically it derived from webcontrol class.

Actually gridview control is built with lot of features and this control is commonly used for all applications.