Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

 

ds.Tables(0).Rows(lineCnt).Item(64) = sOD1

 

I tried

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

Go Beavs!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...