G
Guest
Can someone please tell me why I might be getting the following error!
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
Line 76: Sub DGPages_Update(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
Line 77: 'Read in the values of the updated row
Line 78: Dim pageID As Integer = e.Item.Cells(1).Text ' Error line
Line 79: Dim modificationDate As Double = CType(e.Item.Cells(2).Controls(0), TextBox).Text
Line 80: Dim description As String = CType(e.Item.Cells(3).Controls(0), TextBox).Text
...:: CODE
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
Line 76: Sub DGPages_Update(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
Line 77: 'Read in the values of the updated row
Line 78: Dim pageID As Integer = e.Item.Cells(1).Text ' Error line
Line 79: Dim modificationDate As Double = CType(e.Item.Cells(2).Controls(0), TextBox).Text
Line 80: Dim description As String = CType(e.Item.Cells(3).Controls(0), TextBox).Text
...:: CODE