有如下代码,发现C/S 在用B/S的一些方法
private System.Windows.Forms.ListBox clbConditionCreate;
...
this.clbConditionCreate = new System.Windows.Forms.ListBox();
...
string str_SelectConditon="";
str_SelectConditon=(((System.Web.UI.WebControls.ListItem)this.clbConditionCreate.SelectedItem).Value.ToString().Trim());
把clbConditionCreate 选择内容的Value值保存到str_SelectConditon