Click on the "Advanced" button and check the "Generate INSERT, UPDATE and DELETE statements" checkbox (Figure 3). Now that you have configured the SQL Data Source control let's bind it with a Grid View control. Open its smart tag and configure it as shown in Figure 4.Here, we set the Data Source of the Grid View to Sql Data Source1. We also enable paging, sorting and editing features of the Grid View. Generally speaking everything can be cahieved via Object Data Source.
dating navy sailor - Gridview rowupdating keys
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).
Let me just give you a quick list of how we can do this.
Ok, for basics I have created two pages one if which holds the grid and the other is which will get the primary key sent by On edit add the following code on page load.
Best Regards, Well, can you give me an example on how to achieve that myself?
aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.A powerful sequence of Mantra, Pranayama, Hand Mudras and Meditation. There can be several approaches taken for validating data. For our example we are going to use Customers table of Northwind database. Open its smart tag and choose "Configure Data Source" option to start Configure Data Source wizard.On the first step of the wizard click on "New Connection" button to open a dialog as shown in Figure 1.So the task is to get the primary key of the row on which the link button is pressed.Solution: Well, we can achieve this task from variety of methods.So i started using something like this: Hi: Here's the hierarchy: Grid View.