View Single Post
 
Old November 19th, 2015, 09:10 PM
harry282 harry282 is offline
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default please help

Hi everyone
now i'm using VS 2010 and i use " if" but it not working correctly

My code :
Code:
if (input == "a\r\n")
                {
                    
                    RFID.Text += (" Name       ------    \r\n ");
                    RFID.SelectionStart = RFID.Text.Length;
                    RFID.ScrollToCaret();
                    RFID.Refresh();


                   
                 }
input is data receive from serial port
RFID.text display only one time
i don't know why
please help me
thankyou so much