
- VBForums
- .NET
- C#
- Iterate through BindingSource that was created from a DataTable
-
Aug 15th, 2012, 12:19 PM
#1
Addicted Member
Iterate through BindingSource that was created from a DataTable
I have a BindingSource who's DataSource was set to a DataTable that I need to iterate through, how do I go about doing that?
Am I iterating through DataRows of the DataTable? How do I reference those DataRows?
Any help is appreciated!
-
Aug 22nd, 2012, 04:38 AM
#2
Fanatic Member
Re: Iterate through BindingSource that was created from a DataTable
Foreach (Datarow rw in MyDatatable.Rows)
{
//Do what you need to the row here
messagebox.show(row);
}

- VBForums
- .NET
- C#
- Iterate through BindingSource that was created from a DataTable
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