C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




How to retrieve the third table value from the data set?


Posted Date: 25 Jul 2008      Total Responses: 3

Posted By: pedarayudu.k       Member Level: Silver     Points: 1



How to retrieve the third table value from the data set?




Responses

Author: suman    25 Jul 2008Member Level: GoldRating:     Points: 0

ds.Tables[2]


Author: muralidhar    25 Jul 2008Member Level: GoldRating:     Points: 4

yes as suman said you can use the third table of dataset

there is another way if you know the exact table name

ds.Tables["Table3"]

if you want to itirate through all the rows you can get them also like

int i;
for (i = 0; i<ds.Tables["Table3"].Rows - 1; i++)
{
//do what ever you want.
}

Regards,
Muralidhar.



Author: Lakshmankumar M    25 Jul 2008Member Level: GoldRating:     Points: 3


ds.Tables["Table3"]

if you want to itirate through all the rows you can get them also like

int i;
for (i = 0; i<ds.Tables["Table3"].Rows - 1; i++)
{
//do what ever you want.
}



Post Reply
You must Sign In to post a response.
Next : What are the attirbutes of DataSet?
Previous : SSRS ADhoc Reports
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use