Reference 1st cell of first row of dataset ?
-
I have a dataset called ReturnedDataset. It contains 1 row with 1 cell - how do I reference it ? In vb.net I would do something like - DataSet21.issues(0).title but I cant seem to find the correct syntax for c#. Thanks
DataSet.Table[0].Rows[0][0] Table 0, Row 0, Cell 0
only two letters away from being an asset
-
DataSet.Table[0].Rows[0][0] Table 0, Row 0, Cell 0
only two letters away from being an asset
DataSet.Table["TableName"].Rows[0][0]:)
Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)
-
DataSet.Table["TableName"].Rows[0][0]:)
Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)
Yes, and if you want to go even further it could be DataSet.Table["TableName"].Rows[0]["ColumnName"] or if strongly typed DataSet.TableName.Rows[0].ColumnName So your point was?
only two letters away from being an asset
-
Yes, and if you want to go even further it could be DataSet.Table["TableName"].Rows[0]["ColumnName"] or if strongly typed DataSet.TableName.Rows[0].ColumnName So your point was?
only two letters away from being an asset
Mark Nischalke wrote:
So your point was?
Probably this: "I can code better than you can. Nya nya, nyi nya nyaaaa!" :rolleyes:
Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website
-
Mark Nischalke wrote:
So your point was?
Probably this: "I can code better than you can. Nya nya, nyi nya nyaaaa!" :rolleyes:
Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website
:sigh: If it were you I'd admit it. :((
only two letters away from being an asset
-
:sigh: If it were you I'd admit it. :((
only two letters away from being an asset
C'mon! You're a Code Project MVP! You don't get that for nothing. It means you are great at what you do and you are great at spreading the greatness. (You don't think I over did the "great" thing there, did you?)
Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website
-
C'mon! You're a Code Project MVP! You don't get that for nothing. It means you are great at what you do and you are great at spreading the greatness. (You don't think I over did the "great" thing there, did you?)
Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website
You're right, I am great at spreading something, but it usually comes from the posterior of a bull. ;P
only two letters away from being an asset
-
You're right, I am great at spreading something, but it usually comes from the posterior of a bull. ;P
only two letters away from being an asset
You work on a farm! Gosh! You find Software Developers in every corner of society. :-D
Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website