Gridview rowupdating get boundfield value

Posted by / 03-Jan-2020 06:21

Add(New Data Column("Col1_ML", Get Type(String))) dt. Add(New Data Column("Col1_PH", Get Type(String))) dt. Connection = conn2 sql = "SET DATEFORMAT dmy; SELECT * FROM XXXX " cmd. Execute Reader() Dim Temp Staff Key As Integer Dim Temp Post Key As Integer Dim Temp Shift Date As Date Time Dim Temp Start Time As Date Time Dim Temp End Time As Date Time Dim Temp SL As String Dim Temp Roster Key As Integer Dim Temp VL As String Dim Temp ML As String Dim Temp PH As String Dim Temp APH As String Dim Temp TOIL As String Dim Temp Others As String Dim Temp Shift Type As Integer Dim Temp Submitted By As Integer Dim dt As New Data Table() dt. Add(New Data Column("Staff Name", Get Type(String))) dt. Add(New Data Column("Post Code", Get Type(String))) dt. Add(New Data Column("Staff Key", Get Type(Int32))) dt. Add(New Data Column("Post Key", Get Type(Int32))) 'Monday dt. Add(New Data Column("Col1_Roster Key", Get Type(Int32))) dt. Add(New Data Column("Col1_Shift Date", Get Type(Date Time))) dt. Add(New Data Column("Col1_Start Time", Get Type(Date Time))) dt. Add(New Data Column("Col1_End Time", Get Type(Date Time))) dt. Add(New Data Column("Col1_SL", Get Type(String))) dt. Add(New Data Column("Col1_VL", 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.

This can be beneficial to other community members reading the thread. Extract Values From Cell(values, field1Cell, Data Control Row State. Sql Command Dim sql As String Dim reader As System. Sql Command Dim sql3 As String Dim reader3 As System. Please remember to click “Mark as Answer” on the post that helps you. Find Control("brief_Descrip"), Text Box) I have one Bound Field, that I am addressing as such. They are Read Only, making their values the old values.This can be beneficial to other community members reading the thread. Will i still be able to get the value for the 7th column from the dictionary? My gridview also has over 3000 rows, I display 50 rows per page. To String() ' Establishes values sent to STORED PROCEDURE item Data Source. And one Template Field for which I use Find Control. Have you checked if there is anything in the Dictionary? The Find Control won't work, as the Text Box that the Bund Field has created doesn't have the field name for ID. Please remember to click “Mark as Answer” on the post that helps you.

gridview rowupdating get boundfield value-25gridview rowupdating get boundfield value-87gridview rowupdating get boundfield value-83