Loh Jy

Loh Jy

  • NA
  • 17
  • 3.5k

Multiple time stamp display

Jun 3 2015 11:51 PM
I am having trouble allocating only 1 time stamp per data received..
Instead of
 11:06 AM T 1 26 being reflected on my text box, I am getting this
11:06 AM T 11:06 AM 92 11:06 AM 211:06 AM 8.75.
 
Coding are as follows: 
string time = DateTime.Now.ToString("HH:mm:ss");
txtData.AppendText(time + " " + RxString); 
 
How should i restrict the time from displaying so many time? 

Answers (9)