Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 08, 2007 05:24 AM|LINK
If your connection string is created dynamically at run time. We cannot set the connection string at design time. Binding to the property might not work since this depends on when you call DataBind on your controls.
In this case, it's better to set this in code behind event handler for Page_Load like
Me.dsTest.ConnectionString = objClientConnection.ConnectionString
Then you can call DataBind() manually.