从winform发送消息到服务 [英] Send message from winform to service

查看:105
本文介绍了从winform发送消息到服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想知道是否有人能指出我正确的方向。



我正在尝试从winform接收消息/事件并将其记录在sql数据库中的服务。



我可以执行sql和winform,但不知道如何构建妻子服务或如何从win表单中与服务进行通信。



提前致谢

Hi,

I was wondering if anyone could point me in the right direction.

I am trying have a service that can receive messages / events from a winform and record them in an sql database.

I can do the sql and winform but have no idea on how the wife service is constructed or how to communicate with the service from the win form.

Thanks in advance

推荐答案

快速而肮脏的WCF服务和客户端(使用WCF和Winforms) [ ^ ]

http://www.c-sharpcorner.com/UploadFile/rohatash/insert-and-display-data-in-datagridview-in-windows-forms-app/ [ ^ ]



-KR
A Quick and Dirty WCF Service and Client (Using WCF and Winforms)[^]
http://www.c-sharpcorner.com/UploadFile/rohatash/insert-and-display-data-in-datagridview-in-windows-forms-app/[^]

-KR


这篇关于从winform发送消息到服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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