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!
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!
Foreach (Datarow rw in MyDatatable.Rows)
{
//Do what you need to the row here
messagebox.show(row);
}