D
Dee
Hi,
I'm working on a sample WebForm proj that accesses an Access database.
There is a desgn-time
DataSet ds1
and a
DataGrid dg.
Page_Load contains 2 lines:
da.Fill(ds1)
dg.DataBind().
I have set the DataSource of dg set to ds1 and DataMemeber to a table
therein.
I get
System.NullReferenceException: "Object reference not set to an instance
of an object"
error when aspnet tries to execute dg.DataBind().
Any help appreciated.
Dee
I'm working on a sample WebForm proj that accesses an Access database.
There is a desgn-time
DataSet ds1
and a
DataGrid dg.
Page_Load contains 2 lines:
da.Fill(ds1)
dg.DataBind().
I have set the DataSource of dg set to ds1 and DataMemeber to a table
therein.
I get
System.NullReferenceException: "Object reference not set to an instance
of an object"
error when aspnet tries to execute dg.DataBind().
Any help appreciated.
Dee