将文本框值从一个系统发送到另一个系统
问题描述:
好的...我会解释..
我在一个系统中的应用程序中有一个文本框.
在另一个应用程序另一个系统中的另一个文本框.因此,在文本框中输入的值从一个系统传递到另一个系统.在C#Windows应用程序中.
请any1帮我解决这个问题.
Hi,
ok...i will explain..
i have a textbox in my application in one system.
another textbox in aother application another system.so the textbox entered values pass from one system to another system.in c# windows application.
please any1 help me on this.
答
您尚未提供有关两个系统的更多信息,
1)如果两个系统都同时运行?
2)两者都取决于系统吗?
3)您是从System1调用System2吗?还有更多问题,
反正
我的快速答案是,您可以将所需的值存储在一些临时文本文件/XML文件中.存在一致性的可能性.但这又取决于何时以及如何使用此值.
希望这个答案对您有帮助,
谢谢
-Amit Gajjar.
Hi,
You have not given more information about your two system,
1) If both system are running at the same time ?
2) Is both system dependent ?
3) Are you calling System2 from System1 ? and more question,
Anyway,
My quick answer is, you can store your desired value in some temporary text file/XML files. There are possibility of consistency. But it again depend upon when and how you are using this values.
Hope this answer helps you,
Thanks
-Amit Gajjar.
尝试序列化示例链接.
http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization [ ^ ]
.NET XML和SOAP序列化示例,技巧 [ ^ ]
上面是完成此操作的一种非常简单的方法.
Hi,
Try Serialization example links.
http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization[^]
.NET XML and SOAP Serialization Samples, Tips[^]
Above is a very simple way to get this done.
如果这与启动另一个程序有关,则还可以像传递参数一样发送信息.
http://msdn.microsoft.com/en-us/library/aa970914%28v = vs.85%29.aspx [ ^ ]
如何使用args启动exe文件:
http://social.msdn.microsoft.com/论坛/fi-FI/csharpgeneral/thread/021a0981-b320-405b-897e-00351e1be05f [
If this is related to starting another program you can also send the information like an argument.
http://msdn.microsoft.com/en-us/library/aa970914%28v=vs.85%29.aspx[^]
How to start an exe file with args:
http://social.msdn.microsoft.com/Forums/fi-FI/csharpgeneral/thread/021a0981-b320-405b-897e-00351e1be05f[^]