dataset

S

shapper

Hello,

I have a dataset with only one record.

I need to access the value in each column given its name.

How can I do this?

Thanks,

Miguel
 
M

Mark Rae

Hello,

I have a dataset with only one record.

I need to access the value in each column given its name.

How can I do this?

MyDataSet.Tables[0].Rows[1]["...."].ToString();
 
M

Mark Rae

Apologies - slip of the keyboard...

MyDataSet.Tables[0].Rows[0]["...."].ToString();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top