Click here to Skip to main content
14,976,254 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How can I do the following number 4 and 5 task using client server socket programming?

1. Client send a query as regular text to the server. [I can do this]
2. Server get the SQL from the client. [I can do this]
3. Server execute the query(Select statement). [I can do this]
4. Server return the query result as datatable or dataset to the client [How can I do this]
5. Client get the datatable or dataset and display to the client side.[How can I do this]

Please help me guys I have to submit my project very soon
Posted
Updated 18-Mar-11 20:55pm
v3
Comments
Albin Abel 18-Mar-11 12:05pm
   
Webservice or WCF service is an better alternative for this

1 solution

Have a look at the link for information on this:
http://msdn.microsoft.com/en-us/library/5w7b7x5f.aspx[^]

http://vb.net-informations.com/communications/vb.net_multithreaded_server_socket_programming.htm[^]

Because each task you mention is/looks like a separate step you cannot devide that between multiple threads. But I also think you didn't mean that with your question.

Good luck!
   
Comments
Dalek Dave 19-Mar-11 6:14am
   
Don't know why that was downvoted.

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