I have a simple DataTable, How can i display everything inside it into gridview?
public void BindData(DataTable tbl)
{
this.dataGridView1.DataSource = (...)?
}
Help appreciated
Try this:
gridview.datasource=tbl;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With