Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MyDataGridView.DataSource = getDataTableFromDb();
- bindingSource1.DataSource = getDataTableFromDb();
- MyDataGridView.DataSource = bindingSource1;
- DataRowView r = bs.Current as DataRowView;
- var id = int.Parse(r.Row.ItemArray[0].ToString());
- int index = bs.Find("CustomerId", 3);
- bs.Position = index;
Add Comment
Please, Sign In to add comment