if i changes that code i get this error
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: No value given for one or more required parameters.
Source Error:
Line 75: Dim objDR as OleDbDataReader
Line 76: Dim Cmd as New OleDbCommand(sql, conn)
Line 77: objDR=Cmd.ExecuteReader(system.data.CommandBehavior.CloseConnection) Line 78: MyDataGrid.DataSource = objDR Line 79: MyDataGrid.DataBind()
|
and i know i have 3 recordes in my DB