I don't know why I'm having such a hard time with this, but it will not show up in my DataGridView. Here's the code, does anyone know what's wrong with it?
Code:
private void BindToGrid(DataSet dataSource)
{
if (dataSource != null)
{
BindingSource bSource = new BindingSource();
bSource.DataSource = dataSource;
bSource.DataMember = dataSource.Tables[0].TableName;
grdResults.DataSource = bSource;
}
else
{
MessageBox.Show("Invalid datasource!");
}
}