DataRow

J

Jim Heavey

The documentation indicates the DataTable has a property called "Rows" and
it states that "Gets the collection of rows that belong to this table."
When I go to use this property (show up in intellisence) all is well, but
when I attempt to compile, the compiler tells me there is no such property
(The exact msg is 'System.Data.DataTable does not contain a definition for
Rows). What am I doing wrong? I want to get a single row from the
collection...can I not just do that with the following (C#)?

DataRow Fred = dt.Rows[0]?
 
J

Jim Heavey

I apparently had two attributes with the same name which caused the
"problem" where the system got all confused!
 

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

Top