客户端服务器编程帮助 [英] Client Server Programming help

查看:120
本文介绍了客户端服务器编程帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

希望你一切都好.

我正在考虑使用vb.net开发客户端服务器桌面应用程序.客户数量可能是100-150.远程服务器将具有真正的IP和sql server 2005 Express运行.客户端计算机将使用拨号Internet连接服务器.

当用户按下按钮时,将调用特定的功能/方法(在服务器计算机上),将完成任务,然后将数据返回到表单控件.

示例数据可能是-使用UserID,FullName,Address和Contact No创建新用户.如果此数据成功保存在数据库中,则将更新同一表单(客户端计算机)上的datagridview.

我正在计划通过套接字编程来完成它.但是在发送多个现场数据时遇到问题.

请帮我怎么做.您不必为我编写代码,只需告诉我.

Dear Friends,

Hope you are fine.

I am thinking to develop a client-server desktop application with vb.net. Client may be 100-150 in terms of quantity. Remote Server will have a real IP and sql server 2005 express running. Client machines will connect the server with dial-up internet.

When a user will press a button, an specific funtion/method (on the server machine) will be invoked, tasks will be done, then return data to the form controls.

sample data might be - Create new user with UserID, FullName, Address, Contact No. If this data is saved successfully in database, a datagridview on the same form (client machine) will be updated.

I am planning it doing by socket programming. But facing problems in sending multiple field data.

Please help me how can i do it. You don''t have to write code for me, just tell me the way.

推荐答案

如果您对桌面"没有严格的要求部分,为什么不使用Web服务器呢?您知道,几乎可以免费使用客户端(浏览器),并且已经完成了一些基础架构.
If you haven''t strict requirements about the ''desktop'' part, why don''t you use a web server instead? You know, you would have the clients almost for free (the browsers) and a bit of infrastructure already done.


这篇关于客户端服务器编程帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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