从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