用个for循环就行了
for(i=0;i<adc.count;i++)
{
 byte[0]=(取字符串具体位置字符的函数,怎么写忘了)
}

解决方案 »

  1.   

    string str = "1234567890";
    char[] arr = str.ToCharArray();
      

  2.   

    s = "11111111";
      int len = s.Length;
      byte[] sarr = System.Text.Encoding.Default.GetBytes(s);
      

  3.   

    dbase(熊猫眼)    编译器错误信息: BC30332: “Char”不是从“Byte”派生的,因此类型“Char 的 1 维数组”的值无法转换为“Byte 的 1 维数组”。
      

  4.   

    Dim str as string
    Dim arr as Byte()  
    str = "1234567890"
    arr = str. ToCharArray()编译器错误信息: BC30332: “Char”不是从“Byte”派生的,因此类型“Char 的 1 维数组”的值无法转换为“Byte 的 1 维数组”。麻烦哪位朋友给看看。谢谢  (语言是 vb.net)
      

  5.   

    用lsg2003lsg(天空) 说的,他这个是可以的
    s = "11111111";
      int len = s.Length;
      byte[] sarr = System.Text.Encoding.Default.GetBytes(s);
      

  6.   


    pwd = "ddddddddd"
    Dim pwd_byte() As Byte
    pwd_byte = System.Text.Encoding.Default.GetBytes(pwd)