karthigesh
February 11th, 2003, 01:12 AM
is there anything wrong with the portion of program below, cos i always get everything as the same value in hexadecimal in the output messagebox. Everything ,means DEVID , ACK and CHECKSUM, all show the same value...
string s = string.Format("{0,2:x}{0,2:x} DEVID:{0,2:x} ACK: {0,2:x} CHECKSUM:{0,2:x}{0,2:x}",data[0], data[1], data[2], data[3], data[4], data[5]);
thanks ...
karthik
string s = string.Format("{0,2:x}{0,2:x} DEVID:{0,2:x} ACK: {0,2:x} CHECKSUM:{0,2:x}{0,2:x}",data[0], data[1], data[2], data[3], data[4], data[5]);
thanks ...
karthik