blmetz
03-02-2004, 02:45 AM
I have a question about datasets:
<dataset name="dsDataSet" src="http://somedomain/page.aspx" autorequest="false" type="http"/>
Is there any way to set the src dynamically?
The issue is this.....
On my development server the src="http://dev/page.aspx"
On my staging server the src="http://staging/page.aspx"
On my live servers the src="http://live/page.aspx"
Currently I have I have three sets of urls (dev, staging, live) which I have to comment and uncomment depending on the server.
Can these value be read from a file?
Is there a better solution, than commenting and uncommenting as the code is published?
<dataset name="dsDataSet" src="http://somedomain/page.aspx" autorequest="false" type="http"/>
Is there any way to set the src dynamically?
The issue is this.....
On my development server the src="http://dev/page.aspx"
On my staging server the src="http://staging/page.aspx"
On my live servers the src="http://live/page.aspx"
Currently I have I have three sets of urls (dev, staging, live) which I have to comment and uncomment depending on the server.
Can these value be read from a file?
Is there a better solution, than commenting and uncommenting as the code is published?