This question is locked. New answers and comments are not allowed.
Hi,
Please see the code below... It gives me a "Error 2 Value of type '1-dimensional array of Char' cannot be converted to 'Char'. C:\Development\VBNET\abcDB\MatrixExceptionOther.Telerik.OpenAccess.vb 55 34 abcDB". Can someone tell me how I can resolve this?
Thanks...
Amin
Please see the code below... It gives me a "Error 2 Value of type '1-dimensional array of Char' cannot be converted to 'Char'. C:\Development\VBNET\abcDB\MatrixExceptionOther.Telerik.OpenAccess.vb 55 34 abcDB". Can someone tell me how I can resolve this?
Thanks...
Amin
Public Sub New(s As String)
Dim i As Integer
Dim p As Integer
p = 0
i = s.IndexOf(
"-"c, p)
_exceptionType = s.ToCharArray(p,1)[0]
p = i + 1
i = s.IndexOf(
"-"c, p)
_feeType = System.SByte.Parse(s.Substring(p, i-p))
p = i + 1
i = s.IndexOf(
"-"c, p)
_seqNoOne = System.SByte.Parse(s.Substring(p))
End Sub