04 2011 档案

摘要:protected void Button1_Click(object sender, EventArgs e) { //关闭按钮 //关闭页面--要弹出提示(IE6及以下不弹出提示) ClientScript.RegisterStartupScript(Page.GetType(), "", "<script language=javascript>window.opener=null;window.close();</script>"); //不弹出提示直接关闭页面 ClientScript.RegisterStartupSc 阅读全文
posted @ 2011-04-27 12:31 陆宗轩 阅读(28066) 评论(3) 推荐(4)
摘要:View Code 1 using System; 2 using System.Text.RegularExpressions; 3 namespace MetarCommonSupport 4 { 5 /// <summary> 6 /// 通过Framwork类库中的Regex类实现了一些特殊功能数据检查 7 /// </summary> 8 public class MetarnetRegex 9 { 10 11 private static MetarnetRegex instance = null; 12 public static MetarnetRege 阅读全文
posted @ 2011-04-25 15:45 陆宗轩 阅读(14517) 评论(0) 推荐(3)
摘要:select name from syscolumns where ID=OBJECT_ID('表名称')--默认返回该表的所有列的列名 阅读全文
posted @ 2011-04-22 16:10 陆宗轩 阅读(808) 评论(0) 推荐(0)