protected int GetLength(string strValue)
{
byte[] myByte = System.Text.Encoding.Default.GetBytes(strValue);
return myByte.Length;
}
protected int GetLength(string strValue)
{
byte[] myByte = System.Text.Encoding.Default.GetBytes(strValue);
return myByte.Length;
}
转载于:https://www.cnblogs.com/haiy/p/4137107.html