The updated values are contained in the Textbox controls 'declared in the Edit Item Templates of the Template Field column fields in the Grid View control (the XML code behind the Grid View) Dim dg Invoice Number As Text Box = CType(row.
Visible = True 'Define the Data Source for the first Grid View ("Ds Ship Data" data set) dg Ship Data1.
Data Source = ds Ship Data 'Define the Table to use for populating the first Grid View ("Table1" is the default table in a generic data set) dg Ship Data1.
Fill(ds Ship Update, "Table1") 'Set second Grid View to be visible Ship Data2.
Visible = True 'Define the Data Source for the second Grid View ("Ds Ship Update" data set) dg Ship Data2.
Data Source = ds Ship Update 'Define the Table to use for populating the second Grid View ("Table1" is the default table in a generic data set) dg Ship Data2. Grid View Update Event Args) Handles dg Ship Data2.
Data Member = "Table1" 'Bind the data set & table to the second Grid View, so that data is displayed in the Grid View dg Ship Data2. Row Updating 'Get the Grid View Row object that represents the row being edited Dim index As Integer = dg Ship Data2.I have ben reading about Postback, but I honestly don't know what that really is or how to implement, if I need to.I was getting an error related to Postback and validation failing, which is what I'm not sure what to do about.I found the above code after searching for several hours on Google, so it may not be the best to use, I don't know.I'm also noticing that I have to click the Edit link, Update link, and Cancel link in the Grid View Command column twice to get the action to occur. Do I need to change my code to get the SQL UPDATE statement to be executed before the Page_Load event is fired off (assuming that is what is causing my problem... Anyone have any thoughts or can help me on these issues?Find Control("QABuy Off Date Text Box"), Text Box) Dim dg Lot Number As Text Box = CType(row.