OleDBCommand和OleDBDataReader [英] OleDBCommand And OleDBDataReader

查看:90
本文介绍了OleDBCommand和OleDBDataReader的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用OleDBCommand和OleDbDataReader在C#代码中执行查询和记录集值.

还让我知道如何循环处理,如果找到多个记录,该记录集将通过查询返回.

How to user OleDBCommand And OleDbDataReader to execute the query and the record set value within the C# code.

also let me know how to loop thought the record set return by query if there are multiple record found

推荐答案

一个小小的谷歌搜索("oledbcommand")很长一段路要走.这是google返回的155万中的一个链接:

http://blogs. msdn.com/b/wriju/archive/2008/01/24/ado-net-oledbcommand-parameterized-query-sequence-rule.aspx [
A little googling ("oledbcommand") goes a long way. This is one link out of 155 THOUSAND returned by google:

http://blogs.msdn.com/b/wriju/archive/2008/01/24/ado-net-oledbcommand-parameterized-query-sequence-rule.aspx[^]


这篇关于OleDBCommand和OleDBDataReader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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