klimekt
-
Posts
30 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by klimekt
-
-
I'm trying to create a grid that's databound at runtime. I've set the grid datasource to <In Code> and I followed the example in the resource center, using the DataSourceSelecting event and assigning the grid datasource to the defaultview of a table in a dataset. When I do this I get the right number of rows in the grid, but there is only one empty column, no data is displayed. If I assign the same defaultview to a standard gridview control it displays the table content correctly. Do I have to define each column in the table manually to accomplish this? I couldn't figure out how to do this since it doesn't seem possible to create a new datafield in the code, only imagefield. Any help would be appreciated.
Tomasz
Dynamic grid has no columns
in General
Posted
The grid displays results of user designed queries, so there is no way to predict the dataset structure at design time. It has to be flexible enough to display whatever is throw at it. If you could provide me with a hotfix that would keep my development going until the service pack is available. Thanks, Tomasz