Mitsuki
05-16-2006, 09:32 AM
Specified cast is not valid.
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.InvalidCastException: Specified cast is not valid.
Source Error:
Line 67:
Line 68: Dim ItemNo As TextBox
Line 69: ItemNo = me.DataGrid1.DataKeys(E.Item.ItemIndex)
Line 70:
Line 71: Dim strUpdateStmt As String
^ Can someone explain to me why do i get that
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.InvalidCastException: Specified cast is not valid.
Source Error:
Line 67:
Line 68: Dim ItemNo As TextBox
Line 69: ItemNo = me.DataGrid1.DataKeys(E.Item.ItemIndex)
Line 70:
Line 71: Dim strUpdateStmt As String
^ Can someone explain to me why do i get that