Hello,

Win App:
takes a value from a textbox1 and send it throw parameter to a method in the website called WebDisplay(textbox1.text)

Web App:
recives the value of the parameter.

so how can i do that..?

thanks!

Recommended Answers

All 3 Replies

Send the value in the query string like this:

Name of web page.aspx?parm=value

In the web app when the page loads read the parm like this:

this.Request.Params["parm"]

and use it how you want...!

how the win app sends and recive from the web app

Web App:
Create a web service in the web application with WebDisplay as a WebMethod.

Win App:

Add web reference to the windows application.

Call WebDisplay method and pass the textbox.text as parameter.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.