WinForm 里面ListBox的问题

一直在做B/S 结构的东西,很长时间没有再接触C/S 的了;
有如下代码,发现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

原文地址:https://www.cnblogs.com/jhtchina/p/162641.html