使用了SqlHelper,如何让它回滚,如何取回返回值
摘要:SqlConnection CS; CS = new SqlConnection(m_strConnectionString); SqlTransaction DBTransaction = null; string p_strReturnMessage = ""; int p_intOutPut = 0; try { #region Populate Parameters System.Data...
阅读全文
posted @
2008-01-23 14:53
BlueShell
阅读(446)
推荐(0)
弹出网页窗口全攻略
摘要:以下列出一些弹出窗口的参数,你可自行设定,参数之间用逗号分隔可选。字符串--列出对象表并用逗号分开。每一项都有自己的值,他们将被分开(如:"fullscreen=yes, toolbar=yes")。下面是被支持的各种特性。 channelmode = { yes | no | 1 | 0 } 是否在窗口中显示阶梯模式 默认为no directories = { yes | no | 1 | ...
阅读全文
posted @
2008-01-10 14:18
BlueShell
阅读(177)
推荐(0)
Asp.Net下导出/导入规则的Excel(.xls)文件
摘要:datatable中的数据导出excel文件 /// /// 将datatable中的数据导出到指定的excel文件中 /// /// web页面对象 /// 包含被导出数据的datatable对象 /// excel文件的名称 public static void export(system.web.ui.page page,system.data.datatable tab,...
阅读全文
posted @
2007-11-20 10:01
BlueShell
阅读(182)
推荐(0)
asp.net里导出excel表方法汇总
摘要:1、由dataset生成 public void CreateExcel(DataSet ds,string typeid,string FileName) { HttpResponse resp; resp = Page.Response; resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB23...
阅读全文
posted @
2007-11-20 09:43
BlueShell
阅读(154)
推荐(0)
Session模型简介
摘要:Session模型简介 Session是什么呢?简单来说就是服务器给客户端的一个编号。当一台WWW服务器运行时,可能有若干个用户浏览正在运正在这台服务器上的网站。当每个用户首次与这台WWW服务器建立连接时,他就与这个服务器建立了一个Session,同时服务器会自动为其分配一个SessionID,用以标识这个用户的唯一身份。这个SessionID是由WWW服务器随机产生的一个由24个字符组成的字符...
阅读全文
posted @
2007-08-28 10:32
BlueShell
阅读(145)
推荐(0)