new ListItem("","");注意中文的逗号和引号替换为英文的

解决方案 »

  1.   

    new ListItem("ASP.Net区","ASP.Net")
      

  2.   

    已上错误改了。但又有新的错误!!!
    Compiler Error Message: CS0246: The type or namespace name 'Label1' could not be found (are you missing a using directive or an assembly reference?)
    这行报错:
     Label1.Text="您选择的讨论区是:</font color=red>"+SelectedText+"<br></font>值为:<font color=red>"+SelectedValue+"</font>";
      

  3.   

    正确答案见另外一张帖!
    http://expert.csdn.net/Expert/topic/3025/3025406.xml?temp=.8104975