摘要:
//动态绑定下拉框 string sql = "select id ,name form B "; DataTable dt = DBHelper.GetDataTable(sql); //绑定数据源 this.comboBox1.DataSource = dt; //绑定要显示的文本的字段 thi 阅读全文
摘要:
select * from TableName id idName 1 A 2 B select case id when 1 then '在售' else '售罄' end as 状况 from TableName 状况 在售 售罄 select case when id=1 then '在售' when id=2 then '售完' end as 状况 f... 阅读全文