Click here to Skip to main content
15,917,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 12-Jan-11 7:12am
v2

1 solution

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[^]

 
Share this answer
 
v2
Comments
RDBurmon 12-Jan-11 13:50pm    
I think , you have not understand my question . I want to play againsy multiple rows .
fjdiewornncalwe 12-Jan-11 14:25pm    
@Rahul... I don't think you have read the answer or checked the link(s) provided. If you're looking for code, you won't get it from us, we'll show you the resources you need to solve the problem yourself, but we're not going to do the work for you.
RDBurmon 13-Jan-11 13:55pm    
Sorry Marcus...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900