Updating gridview in asp net 2 0
If you do not wish to change any column, you can set Read Only property of the field to True.
If you wish to sort on a column, you can set the Sort Expression property.
Drag and drop a SQLData Source data control on page and configure data source.
Figure 4 You have to manually type in the path of your MS Access database.Figure 3 Your next step is to configure the Access Data Source control appropriately.For this purpose, select the Configure Data Source item from the balloon tip as shown in the above screenshot.Figure 2Create a Microsoft Access database and the required table under it.Be sure to add some data to the table and move the database to the App_Data directory of the project folder.
An editable Grid View contains an additional column with an Edit button in each row.