示例: 字节长度.Value= System.Text.Encoding.Default.GetBytes(文本输入框1.Value).Length 字符长度.Value= len(文本输入框1.Value)