This question is locked. New answers and comments are not allowed.
When I create an OA datasource through the wizard, and use it as the datasource for a grid, I am forced to select a particular table from my DB.
During run-time however, I'd like to be able to change the table to show its data in the grid. Can i do this by setting properties of the
During run-time however, I'd like to be able to change the table to show its data in the grid. Can i do this by setting properties of the
OpenAccessDataSource in the code-behind?
I tried something like:
OpenAccessDataSource1.TypeName =
"DataClasses.Person";
OpenAccessDataSource1.DataBind();
But this didn't work.
Suggestions?