المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : byte array To text box is it possible?



C# Programming
08-05-2009, 03:30 PM
An odd question but i have an interface which recieves a byte array of 1024 bytes from another device.

Byte Number Page Column
0 to 127 0 0 to 127 // bottom right
128 to 255 1 0 to 127
256 to 383 2 0 to 127
384 to 511 3 0 to 127
512 to 639 4 0 to 127
640 to 767 5 0 to 127
768 to 895 6 0 to 127
896 to 1023 7 0 to 127 // top left

Does anyone know if i can somehow convert these bytes to be represented in the text box on the GUI.

1023 896
895 768
767 640 // screen layout
639 512
511 384
383 256
255 128
127 0


Thanx in advance