Aug 15th, 2012, 01:19 PM
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, 05:38 AM
Re: Iterate through BindingSource that was created from a DataTable
Foreach (Datarow rw in MyDatatable.Rows)
//Do what you need to the row here