A datakey represents the primary key field or field of a record that can uniquely identify it in a data-bound control. Row Index represents the index of the particular row.
Many a times in our applications we use primary keys to get control of the particular record in the gridview.
I code in VB, and I know the code has to be in the one of the row or data events of the gridview. When I click on the user control it opens a pop up from which I can choose the required value.
Thank you, Tom Convert your Consumer to a template field with label, id = "Label1" then try using the Row Data Bound event of the gridview and code something like: If e. The text value is populated in the textbox and Id in the hidden field. After hitting update on gridview, data changes but gridview still shows the update and cancel links for edited row Really weird.
here is my code: Update on another cell when the cell value is changed??
Hi, I am using Sql Commandbuilder for insert/update automatically to the database.
I have the following (I code in VB) in a datagrid nested inside a Data List: The hiddencolumn style prevents the CAB column/data field from showing in the browser.