Hi all,

I'm having a real hard time getting data from an Access database to be displayed in a datagrid in a webform.

Here is my code:

VB Code:
  1. DataGrid1.DataSource = DS.Tables(0).DefaultView
  2.         DataGrid1.DataBind()
  3.         MyDataAdapter.Dispose()
  4.         MyConnection.Dispose()

I've tried not calling the .Dispose methods at the end, but doesn't make a difference.

I know this shouldn't be hard, but for some reason, it's not working.

Prior to this code, I do a response.write (ds.tables(0).Rows.Count) and I get > 0, so it's getting something.

Does anyone have any suggestions?

Thanks in advance.
JB