如何将Windows窗体Textbox传递给网页文本框 [英] How to pass Windows form Textbox to webpage textbox

查看:106
本文介绍了如何将Windows窗体Textbox传递给网页文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望将我的Windows窗体文本框值填充到一个网页文本框中。例如,如果我在Windows窗体中输入姓名,年龄,地址,城市,并在窗体中单击提交按钮,它将通过获取他们的网页文本框id自动填写网页中的某个网站名称,年龄,地址,城市文本框。它是可能的

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 clicked submit button in the windows form it would automatically fill in the certain website name,age,address,city textbox in webpage by getting their webpage textbox id.It is Possible

推荐答案

根据您的要求:

1st:从您的win应用程序写入数据库

2nd :通过触发器,存储过程或其他任何方式在数据库中进行任何聚合(如果有的话)

3rd:打开网页时,从数据库填写,而不是从表单填写。

4th:享受win表单和web的分离,因为现在你可以提供数据,无论数据来源如何(可能有人要求提供旧的销售报告,也许你会编写Web应用程序,使用户能够通过Web输入数据页面...



做一些初步工作,如果你卡在某个地方就回来。



如果这不是你的网站(也就是说,不是你的网站我们的控制,然后询问业主如何通过POST方法发送数据填写表格。



如果这个建议有帮助,请花时间接受解决方案。谢谢。
By your requirement:
1st: write from your win app into the database
2nd: do whatever aggregation you need in the database (if any) via triggers, stored procedures or whatever
3rd: upon opening the web page, fill it from the database, not from the form.
4th: enjoy the separation of win forms and web as now you have the ability to provide the data regardless of data origin (maybe someone asks for old sales report, maybe you write web app enabling users to enter data via web page...

Do some preliminary work and come back if you get stuck somewhere.

If this is NOT your website (that is, not one under your control, then ask the owners how can you send the data via POST method to fill the form.

If this advice helps please take time to accept the solution. Thank you.


将值保存在temprory记事本文件中,并在网页中访问相同内容以填充详细信息
save the values in a temprory notepad file and access the same in web page to fill details


这篇关于如何将Windows窗体Textbox传递给网页文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆