Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic variable.

Status
Not open for further replies.

chebbi

Programmer
Feb 6, 2002
98
IN
Hi all

I have a webservice on one of our servers and i instantiate that service by using


servername.webservicename ws = new webservicename();

I need to be able to put the server name from some application variable and not hard code it here. Any ideas on how to do it?

I tried using

Application.Get("varname").webservicename ws = new webservicename();

but it gives me syntax error. Any help will be highly appreciated.

Thanks
Badrinath Chebbi

Badrinath Chebbi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top