Click here to Skip to main content
15,881,840 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
WebSite received data from winform A,

did something, then send the result to winform A (or winform B, A and B in different regions)

How to do?
Posted

1 solution

I don't think this is a usual way. Instead of webform have a webservice. Pass data to webservice and get back results from it from your winform
 
Share this answer
 
Comments
jason_mf 14-Feb-11 23:49pm    
Thanks. But I need to studing some Other technologies. example HttpRequest.
If I use HttpRequest post data to web from winform.
The wimform how to receive the result from the web ?
Example: the winform send a string to web. the web convert the string to Capital.
then how to return the string and the winform how to receive(Only the string)?
Sergey Alexandrovich Kryukov 15-Feb-11 16:57pm    
This is not "technologies" to study. There are much better ways to study HttpRequest. Have a problem with study plan at your school?
--SA
Albin Abel 14-Feb-11 23:57pm    
I understood what you are trying to do. In that case as I suggested use a webservice better. It is good your intention to learn more ways. WebForm is a user interface when user input data and get out put. But you no need a web interface, because you are sending the data from a different interface (winform) and getting results back. a webservice is a opt one. Look at this link for an example web service...
http://www.w3schools.com/webservices/ws_example.asp

If you need coding for connecting a webservice from winform...let me know and give me sometime..I need to write the coding though :)
Sergey Alexandrovich Kryukov 15-Feb-11 16:59pm    
Good answer, my 5.
Such "study" can be a waste of time, if OP does not understand how things should work. Insisting on answering a not very reasonable questions does not help here.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900