Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have a device with rs232 port conneted to it.I need to read data from rs232 port and should store in database. i need code in console application are in asp.net but not in vb.net
Posted

1 solution

Hi Kalyan,

Is your rs232 will create virtual COM Port? If Yes, You can go with Serial Port Class. Open the port, from that u can read and write data into it. Check the below link.


[^]

http://www.dreamincode.net/forums/topic/35775-serial-port-communication-in-c%23/[^]

Hope its useful for u.

Babu.K
 
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