Gridview updating database voicedating com

Find Control("Deliver Date Text Box"), Text Box) Dim dg Proces Date As Text Box = CType(row.

Find Control("Process Date Text Box"), Text Box) Dim dg QABuy Off Date As Text Box = CType(row.

I put together a SQL statement to update the data in the database table that matches up with the invoice number in the Grid View row of data being updated.

I have controls set up in the Page_Load event to populate the Grid View, so it seems like when the Row Updating event is fired off by clicking the Update button in the Grid View, it is jumping right to the Page_Load event.Find Control("Order Type Code Text Box"), Text Box) Dim dg Ship Date As Text Box = CType(row.Find Control("Ship Date Text Box"), Text Box) Dim dg Deliver Date As Text Box = CType(row.I'm putting in notes as I go so that co-workers could figure out what I did later on): Public Sub Page_Load(By Val sender As Object, By Val e As System. Load 'Set Connection String, using connection object defined above, for use by the Data Adapters cn. Text & "' " & _ "ORDER BY aspd.invoice_number", cn) ' "sda Ship Data1" Data Adapter called to fill the first dataset sda Ship Data1.Fill(ds Ship Data, "Table1") 'Set first Grid View to be visible Ship Data1.

Leave a Reply