Hi all
Im trying to loop through spesific coloums of a bindingsource but i am having some trouble
the code i have so far is
c# Code:
private void CountLines(BindingSource bs) { int x = 0; foreach (DataRowView IncidentRow in bs) { MessageBox.Show(IncidentRow.ToString()); x++; }//foreach (DataRowView invoiceRow in invoicebindingsource) MessageBox.Show(x.ToString()); }
But all i get out is
so my question is how would i say messagebox.show each summary or each ref num?
thanks
Crash





Reply With Quote