I tried to add row in a datagrid.
Below is the code
The error message told that "Input string was not in a correct format.Couldn't store <Section 4(a)> in ITEM Column. Expected type is Int32.".
I dont understand why "Section 4(a)" is not acceptable.
Pls help.
Below is the code
Code:
Dim r As DataRow
r = Tbl.NewRow()
r("ITEM") = "Section 4(a)"
Tbl.Rows.Add(r)I dont understand why "Section 4(a)" is not acceptable.
Pls help.