简体   繁体   中英

Converting Extended ASCII Characters to Hexadecimal or Plain Text

I have a program written in VB.NET and I have a textbox for the RFID tag (which is in ASCII format) and then convert it to a simple text format to be saved to my database.

How can I convert ASCII to plain text to save to my database?

Look into using the Chr function for conversion. For example,

Dim c As Char = Chr(asciiInt) 

Chr documentation is here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM