Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to pass value from windows form textbox to website textbox. When i click submit button in windows form it automatically open website and fill the values in textbox.
Posted
Comments
syed shanu 18-Dec-14 0:16am    
So what is the problem.You can pass the value as query string.
And in your ASp.Net page get the value.
Gokul Athithan 18-Dec-14 0:18am    
local windows form textbox value to website textbox
syed shanu 18-Dec-14 0:20am    
yes that is what iam saying.You told in ur winform button click you open website.in the url pass the querystring.
Gokul Athithan 18-Dec-14 0:45am    
i want to pass it on google search or gmail login textbox
syed shanu 18-Dec-14 0:55am    
Check this link and the Solution 2
http://www.codeproject.com/Questions/365340/Google-search-in-windows-form-csharp

1 solution

To pass the text ti google Search text box use this code

C#
textbox1.Text = "CodeProject";
            string SearchGoogle = "http://www.google.com/#hl=en&q="+ textbox1.Text.Trim() +"&aq=f&oq=&aqi=&fp=leBsIIJAIN0";
            System.Diagnostics.Process.Start(SearchGoogle);
 
Share this answer
 
Comments
Gokul Athithan 18-Dec-14 1:43am    
i want fill my windows form textbox value to one webpage textbox. For example if i enter name,age,address,city in the windows form and it would automatically fill in the certain website name,age,address,city textbox in webpage by getting their webpage textbox id.It is Possible
syed shanu 18-Dec-14 1:49am    
Then in you question you should mention it clearly first you said winform to website.then you said to google search i gave u solution now u r telling to display in particular web site ?
Gokul Athithan 18-Dec-14 3:08am    
sorry,this question only i try to ask

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