kcwallace
Well-known member
My superiors have decided that they want all code converted to C#.
I have figured 99% of it out, but I am stuck on the line below. Can anyone help?
I tried
and it returns this error
"ds" is a dataset
I have figured 99% of it out, but I am stuck on the line below. Can anyone help?
Code:
ds.Tables(0).Rows(lineCnt).Item(64) = sOD1
I tried
C#:
ds.Tables[0].Rows[lineCnt].Item[64] = sOD1;
and it returns this error
System.Data.DataRow does not contain a definition for item
"ds" is a dataset