Click here to Skip to main content
15,894,630 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I am using visual studio2012. I am developing c sharp based webserver for IOT applications.
My client will send some sensor's information in a TCP/IP packet format, I need to take the content of packet and store it in server data base table.

could any body help me how to store the content of packet data which is coming from client in server data base?



Regards,
Sravani
Posted
Comments
[no name] 1-Sep-14 7:57am    
Based solely on the information that you have given us concerning your problem, connect to your database, create an INSERT or UPDATE query for the data then execute the query.

1 solution

Question is a bit broad. I am guessing, you are doing some socket programming for client server communication and on server side would like to use ADO.NET to store the data to a database. Did you try anything and facing any issue or you want design/architecture guidance?
 
Share this answer
 

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