Gridview1 rowupdating

13 Apr

Note that by default all validation controls validate on the client side.In this article I will share how to retrieve hidden value from Grid View Column. I had a assignment I need to show only description and not ID. By using Datakeynames property you will get the selected row primary key. Make Company Name blank and click on Update button.You should see an error message as shown in Figure 7.

Enter the database details as per your setup and click on OK.On the next step select Customer ID, Company Name, Contact Name and Country columns (Figure 2).