摘要: select listagg(字段名,'分隔符') within group (order by 某个字段) 阅读全文
posted @ 2015-05-14 15:39 Jydu 阅读(264) 评论(0) 推荐(0) 编辑
摘要: CreateDate = DateTime.Parse(CreateDate).ToShortDateString(); 阅读全文
posted @ 2015-05-06 13:20 Jydu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 步骤:1.先添加System.Transactions.dll的引用2.使用System.Transactions命名空间下的类实例:using (TransactionScope scope = new TransactionScope()){//你的业务代码scope.Complete();}备... 阅读全文
posted @ 2015-05-04 10:10 Jydu 阅读(529) 评论(0) 推荐(0) 编辑
摘要: DataSet ds ;ds.Tables[0].Columns.Contains("a")同样适用于datarow dr ;dr.Table.Columns.Contains("a")DataTable dt;dt.Columns.Contains("a")返回值:ture or fales 阅读全文
posted @ 2015-04-29 08:43 Jydu 阅读(892) 评论(0) 推荐(0) 编辑
摘要: 不建议使用Response.Write("");而使用 Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "MyScript", "alert('增加年级失败')", true); 阅读全文
posted @ 2015-04-26 14:09 Jydu 阅读(1321) 评论(0) 推荐(0) 编辑