需要帮助相关的C#和数据库 [英] Need Help related C# and database

查看:87
本文介绍了需要帮助相关的C#和数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是C#和数据库的新手..

我想在c#中创建客户端服务器应用程序,

其中客户端发送特定帐户的帐户详细信息请求号码和服务器发送一个datareader,其中包含特定帐号的所有帐号信息。

I am new to C# and database..
I want to create client server application in c#,
in which client sends a request for account details for specific account number and server send a datareader which contains the all account information for specific account number..

推荐答案

您可以使用例如 OleDbDataReader [ ^ ]从您的Access数据库中获取信息。有关示例,请参阅: http://blog.mdsohelrana.com / 2008/07/02 / how-to-use-datareader-in-cnet / [ ^ ]
You can use for example OleDbDataReader[^] to get information from you Access database. For an example, see: http://blog.mdsohelrana.com/2008/07/02/how-to-use-datareader-in-cnet/[^]


http://msdn.microsoft.com/en-us/library/aa288452(v = vs.71)的.aspx [ ^ ]


嗨老兄,



http://msdn.microsoft.com/en-us/library/dw70f090.aspx [ ^ ]



使用你的查询,如tis



select * from table_name where userid =''23
Hi dude,

http://msdn.microsoft.com/en-us/library/dw70f090.aspx[^]

use ur query like tis

select * from table_name where userid= ''23


这篇关于需要帮助相关的C#和数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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