![]() |
#2
棉花糖ONE2007-03-22 17:08
|
SqlCommand cmdSel = new SqlCommand("select mydate,max(case Wjlx when 1 then wjlj else '' end) as N'A',max(case Wjlx when 2 then wjlj else '' end) as N'AA',max(case Wjlx when 3 then wjlj else '' end) as N'AAA',max(case Wjlx when 4 then wjlj else '' end) as N'AAAA' from baobiao group by mydate", conn1); //创建DataAdapter(数据适配器)
da1.SelectCommand = cmdSel;
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录