Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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..
Posted
Comments
Sergey Alexandrovich Kryukov 20-Dec-11 1:27am    
Not a question. Not clear what kind of help do you expect as we don't know your background and what is difficult for you. To start with, what have you done so far?
--SA
Sumit Memane 20-Dec-11 1:30am    
actualy i dont knw anythng about ADO.net and also client server model
i want dummy proj so that i can edit my code according to that
Smithers-Jones 20-Dec-11 5:06am    
Not a question. Are you asking for permission?

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/[^]
 
Share this answer
 
Comments
Sumit Memane 20-Dec-11 1:32am    
bt how to send datareader from server to client machine
Wendelius 20-Dec-11 1:38am    
Have a look at the example. You don't send a datareader frmo server to client. You create and use the datareader on client and when you call ExecuteReader, the SQL command is sent to server which then return a result set which can be iterated at client side.

A good example, see: The ADO.NET OleDbDataReader class[^]. You can download the whole project to see how it works
Hi dude,

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

use ur query like tis

select * from table_name where userid= '23
 
Share this answer
 
v2
Comments
Sumit Memane 20-Dec-11 1:37am    
I knw about sql
i want to knw about how to send datareader from server to client machine

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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