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. Data Source = Get Data(); This Get Data function will return Data Set or Data Table. If still confusion then pls give your code by which you have bind grid. Make one function that will fetch data from database and and return Data Set/Data Table like, gv. Add(New Sql Parameter("@Subject Code", LBSubject Code.
To Int32(ID) & "") End Sub Private Sub Execute Non Query(By Val Value As String) Try Using con As New Ole Db Connection(Configuration Manager. Connection String) Dim cmd As New Ole Db Command(Value, con) con.
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.
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.
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.