摘要:
Winform 中listBox 控件的数据源捆绑和选中值读取 捆绑形式 dt.DefaultView.Sort ="id DESC";//倒序 mylistBox.DataSource = dt.DefaultView; mylistBox.DisplayMember = "Text"; mylistBox.ValueMember = "ID";获取选中(单选模式下)string strSelectValue=((DataRowView)listBTableName.SelectedItem)["ID"].ToS 阅读全文
posted @ 2012-08-29 16:05
the Jade Emperor
阅读(392)
评论(0)
推荐(0)

浙公网安备 33010602011771号