hi everybody,
i have a problem with the update command,in what way should i write the code for the update command.Please have a look at this:
in updatecommand:
Dim empname As String = CType(e.Item.Fi ndControl("t1") , TextBox).Text
Dim empno As Integer = DataGrid1.DataK eys(e.Item.Item Index)
cb.GetUpdateCom mand()
da.Update(ds.Ta bles("empname") )
is this correct.I am getting an error like:
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.
thnks in advance
i have a problem with the update command,in what way should i write the code for the update command.Please have a look at this:
in updatecommand:
Dim empname As String = CType(e.Item.Fi ndControl("t1") , TextBox).Text
Dim empno As Integer = DataGrid1.DataK eys(e.Item.Item Index)
cb.GetUpdateCom mand()
da.Update(ds.Ta bles("empname") )
is this correct.I am getting an error like:
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.
thnks in advance
Comment