how to add webreferences dynamically in C#.net
C#
2
Posts
2
Posters
0
Views
1
Watching
-
hi iam in a little bit of confusion how to add webreferences dynamically in .net can anybody helps me
-
hi iam in a little bit of confusion how to add webreferences dynamically in .net can anybody helps me
If you add a web reference allready in your application then set its property to Dynamic. After that Suppose on a button's click write this Myref is the service name Ok. And client is a object of that. Myref.MyRef client = new Myref.MyRef(); client.Url = "Web reference URL"; //put new URL here. client.Methodname(parameters); Hope this helps :) -- modified at 3:53 Monday 12th November, 2007
Regards Pankaj Joshi