Reputation: 517
I have a simple DataTable, How can i display everything inside it into gridview?
public void BindData(DataTable tbl)
{
this.dataGridView1.DataSource = (...)?
}
Help appreciated
Upvotes: 3
Views: 19647
Reputation: 1
sqldataadapter.fill(tbl); DataGridView.Data Source = tbl (higher numbered rows not accessible)
Upvotes: 0