Mar 13, 2012, 6:02 AM
Is possible to switch Store DataSourceID ?
Hi all,
I have 2 <asp:SqlDataSource> tags name SqlDataSource1 and SqlDataSource2.
SqlDataSource1 used by Store1 (default).
Can I switch Store1 DataSourceID with command
I have 2 <asp:SqlDataSource> tags name SqlDataSource1 and SqlDataSource2.
SqlDataSource1 used by Store1 (default).
Can I switch Store1 DataSourceID with command
this.Store1.DataSourceID = "SqlDataSource2";
this.Store1.DataBind();
this.GridPanel1.RefreshView();
Thank you very much