摘要: //根据按钮属性,进行操作 protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Insert" && Page.IsValid) { BluePrintDataSou... 阅读全文
posted @ 2008-11-13 15:26 沧海难为水滴 阅读(639) 评论(0) 推荐(0) 编辑
摘要: declare @Sql varchar(2000) set @Sql='select VoteDept,Title,UNIT,UserDept,UserName,[name],OptionId' select @Sql=@Sql+',sum(case [name] when *'+[name]+'* then [point] else 0 end) as *'+[name]+'*' from(... 阅读全文
posted @ 2008-11-13 14:07 沧海难为水滴 阅读(123) 评论(0) 推荐(0) 编辑