我用了Lable控件进行输出,但是在网页上显示的却是乱码!!!!!
有什么支持text类型的控件没?????谢谢

解决方案 »

  1.   

    我没用过label来输出东西
    推测:将label的value属性改为byte()类型我随便说说但是你可以不用label阿。
      

  2.   

    to:gu1dai([异域苍穹]追夢人) 
    能具体点么?
    对了,我没说清楚,我是用datatable进行数据绑定的。
      

  3.   

    回复人:gu1dai([异域苍穹]追夢人) ( 一级(初级)) 信誉:100  2005-03-25 21:52:00  得分:0

    我没用过label来输出东西
    推测:将label的value属性改为byte()类型我随便说说但是你可以不用label阿。
    =============================
    主要是我要成批的输入,用数据绑定很方便,所以就把Label绑定在了文本上。
      

  4.   

    binary convert to string
      

  5.   

    binary convert to string
    有现成的函数吗?我发一个vbs的(来源:孟子E章)Function bytes2BSTR(vIn) Dim strReturn,i,ThisCharCode,innerCode,Hight8,Low8,NextCharCode
    strReturn = ""

    For i = 1 To LenB(vIn)
    ThisCharCode = AscB(MidB(vIn,i,1))
    If ThisCharCode < &H80 Then
    strReturn = strReturn & Chr(ThisCharCode)
    Else
    NextCharCode = AscB(MidB(vIn,i+1,1))
    strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
    i = i + 1
    End If
    Next

    bytes2BSTR = strReturn

    End Function
      

  6.   

    gz
    关键是格式的问题我的处理办法是用
    TextBox
    Multipline设置true
    readonly设置false
    可以,但是总觉得不好