Required data through http connection
-
Hi, I am working on a windows application in which I have to send a http url to a server which returns me the data which i have to enter to a hash table. I am unable to create the http connection to the server. Please help how can i write that method url is smthing like in which i have to paas 2 parameters which returns me a string . e.g. http://202.87.50.140:6000/Services/asd.getprice?Item=$Item$&Code=$Code$
-
Hi, I am working on a windows application in which I have to send a http url to a server which returns me the data which i have to enter to a hash table. I am unable to create the http connection to the server. Please help how can i write that method url is smthing like in which i have to paas 2 parameters which returns me a string . e.g. http://202.87.50.140:6000/Services/asd.getprice?Item=$Item$&Code=$Code$
WebClient LobjWebClient = new WebClient();
string LstrData = LobjWebClient.DownloadString("http://www.google.com");Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Hi, I am working on a windows application in which I have to send a http url to a server which returns me the data which i have to enter to a hash table. I am unable to create the http connection to the server. Please help how can i write that method url is smthing like in which i have to paas 2 parameters which returns me a string . e.g. http://202.87.50.140:6000/Services/asd.getprice?Item=$Item$&Code=$Code$
Hi, do you get any exception/error when opening the connection? (If you just wanted to know how to build a httpconnection, use HttpWebRequest and HttpWebResponse). Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hi, I am working on a windows application in which I have to send a http url to a server which returns me the data which i have to enter to a hash table. I am unable to create the http connection to the server. Please help how can i write that method url is smthing like in which i have to paas 2 parameters which returns me a string . e.g. http://202.87.50.140:6000/Services/asd.getprice?Item=$Item$&Code=$Code$
-
Hi, do you get any exception/error when opening the connection? (If you just wanted to know how to build a httpconnection, use HttpWebRequest and HttpWebResponse). Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.