|
-
May 23rd, 2013, 08:12 PM
#10
Re: SQL Help
 Originally Posted by wakawaka
Depending on what you want to do, it is probably easier to load it into a data table and work with it that way.
Code:
var dt = new System.Data.DataTable();
dt.Load(dataReader);
foreach (var row in dt.Rows)
{
var partnerName = row["partnername"].ToString();
//... so on and so forth
}
I sure wish I'd thought of that three days ago. Oh, hang on... I did!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|