Asp net gridview rowupdating findcontrol
Please review the stack trace for more information about the error and where it originated in the code. Invalid Operation Exception: Invalid attempt to call Field Count when reader is closed. Description: An unhandled exception occurred during the execution of the current web request. Command Text = "Select Taken Date, Status FROM " & str Table Name & " WHERE Student [email protected] ID AND Subject [email protected] Code AND [email protected]" With command. I connect to my database and gave it a SELECT query and it works fine. Grid View Edit Event Args) Handles GV_Student Record. I have a gridview which will populate at Page Load. I have loads of codes here, because ive tried every way possible. Public Sub GV_Student Record_Row Editing(By Val sender As Object, By Val e As System.
Row Updating Dim conn String As String = Configuration Manager. Connection String Dim e Date, e Status As String Dim str Table Name As String = LBSubject Code. NET or vise versa: Dear Shailesh soni thank you for your prompt reply. May i no what is that and how to define it (like where should it be define, in page load or any of the 3 events) Thank you. You can use the online code converter below to convert it to VB. Because from the suggested sites that Vinz gave me, i found that datatable/dataset wasnt in used. Query String("student ID") Dim str Subject Code As String = Request. Source Error: Dear Shailesh Soni, Do i really need to used those? Text = str Section Dim str Table Name As String = LBSubject Code. Text 'Msg Box(str Table Name) Dim conn String As String = Configuration Manager. Connection String Using my Conn As New Sql Connection(conn String) my Conn.