关于C#字符格式不匹配问题
int frame_length,i;if (i == 255) i = 0;
else i++;
frame_length =12 + textBox2.Text.Length;
if (comboBox3.Text == "休眠")
{
byte[] frame1 = new byte[] { 0x55, 0xAA, Convert.ToByte(frame_length), Convert.ToByte(i), 0x12, Convert.ToByte(textBox2.Text), 0x00, 0x00, 0x00, 0x01, 0x00
};//休眠无CRC
求教::::byte[] frame1 = new byte[]……………………该句提示“输入字符串格式不正确”
textBox2.Text 看看 帮顶 {:3_45:}
页:
[1]