Gridview rowupdating get id
Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As System.
Row Updating Dim new English As String Dim new French As String [Code]....
Add(New Data Column("Col1_TOIL", Get Type(String))) dt.
Add(New Data Column("Col1_Others", Get Type(String))) dt. Read() '---For each row g_Temp Staff Key = "0" Temp Staff Key = reader("staff_key") 'will not null g_selectstaffkey = Temp Staff Key g_selectpostkey = reader("post_key") g_selectstaffname = RTrim(reader("name_eng")) g_selectpostcode = RTrim(reader("post_code")) Using conn3 As New System.
Dim dt = CType(Session("dt"), Data Table) 'Update the values.
Edit Index = -1 'Bind data to the Grid View control. Sql Command Dim sql As String Dim reader As System.
In my VB Gridview, I had bind several column from datatable into one single column of the gridview. The following is the VB code: Protected Sub Grid View1_Row Editing(By Val sender As Object, By Val e As Grid View Edit Event Args) 'Set the edit index. Bind Data() End Sub Protected Sub Grid View1_Row Canceling Edit(By Val sender As Object, By Val e As Grid View Cancel Edit Event Args) 'Reset the edit index. Edit Index = -1 'Bind data to the Grid View control. Time Entry Date between dateadd(dd, -6, @Week Ending) and @Week Ending) AND TE.and my cs page code for rowcommand protected void Grid View1_Row Command(object sender, Grid View Command Event Args e) i got some error while reteriving the gridrow valuewheather this is corrector any other code must be their?But I have no idea how to get those value when doing Row Editing & Row Updating. Bind Data() End Sub Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) 'Retrieve the table from the session object. New Edit Index 'Bind data to the Grid View control. Bind Data() End Sub Private Sub Create Data Table() Dim cmd As New System.