|
Rank: Newbie Groups: Member
Joined: 6/10/2010 Posts: 9
|
Hi
I am just starting to evaluate Essential objects and have already hit a problem. I can bind a grid to a SubSonic datasource, e.g.;
Grid1.DataSource = _company; Grid1.DataBind();
The grid appears to be bound correctly as it is showing the correct number of rows (e.g. if I select 10 rows into the datasource, the grid will have 10 rows) but NOT displaying any actual data. I have only added one column to display company name.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please check whether you have correctly set the GridColumns' DataField property. That property must be set in order for the Grid to display any data.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/10/2010 Posts: 9
|
Thanks, I managed to get this working
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You are welcome. Please feel free to let us know if you have any more questions.
Thanks!
|
|