G
Guest
Using Visual Studio 2005 / ASP.NET 2.0.
Newbie to ASP 2.0.
I have a GridView and multiple SqlDataSource's on a single page. Each query
is vastly different, but the results share a similar column set. Without
going into details on the project constraints, I was wondering if it's
possible to dynamically change the DataSourceID property of the GridView
control to point to a different SqlDataSource depending on values passed from
another page.
GridView1.DataSourceID = SqlDataSource2 doesn't work.
Thanks in advance.
Newbie to ASP 2.0.
I have a GridView and multiple SqlDataSource's on a single page. Each query
is vastly different, but the results share a similar column set. Without
going into details on the project constraints, I was wondering if it's
possible to dynamically change the DataSourceID property of the GridView
control to point to a different SqlDataSource depending on values passed from
another page.
GridView1.DataSourceID = SqlDataSource2 doesn't work.
Thanks in advance.