多线程客户端服务器 [英] multithread client server

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

问题描述

我怎么能从ms sql数据库中获取数据,并使用c#通过Internet将数据发送到服务器端????

how can ı get data from ms sql database and send the data to server side using internet with c#???

推荐答案

您提出的问题有3个级别总计:

1-从mysql获取数据
几乎很容易从数据库中获取一些数据,这不难做到;

2-发送流
从databse文件获取的数据必须转换为流,并且可以具有用于套接字编程的类,并在客户端和服务器之间建立连接并发送数据抛出IP;
.net可以支持它>使用System.net

3个存储的流
也很容易,您可以将数据存储在服务器中


祝你好运
this question you asked has 3 levels in total :

1- get data from mysql
almost it is easy to get some data from a database , and this is not tht hard you can''t do it;

2- send the stream
the data you got from the databse file must be converted to a stream and you can have a class for socket programming and make a connection betweeen client and server and send the data throw IP;
.net can support it > using System.net

3-store the gotten stream
it is easy too, you can store the data in a server


good luck


我做不到,请帮帮我!!!
i can''t do it please help me!!!


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

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