Onrowupdating vb gridview

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. Grid View Update Event Args) Handles GV_Student Record. 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. 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. However, ill post my Page Load event codes for you(and anyone else) to see: Protected Sub Page_Load(By Val sender As Object, By Val e As System. Query String("subjectcode") Dim str Section As String = Request.

Text = str Section Dim str Table Name As String = LBSubject Code. Text Dim conn String As String = Configuration Manager. Connection String Using my Conn As New Sql Connection(conn String) my Conn. Command Text = "UPDATE " & str Table Name & " SET e Date='" & e Date & "', e Status='" & e Status & "' command. gurubhullar Hi, Data Set/Data Table in which you have get the data from database. 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. so when in edit mode i am not getting the value of the dropdown instead i am getting datarowview this is what i did in my code behind but i am kind not understanding where i am going wrong... Sorry for this but i keep getting this error in Item Data Bound event Data Binding: 'System. Data Row View' does not contain a property with the name 'Project_status'. 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.

Leave a Reply