Viewer

 

04 2008 档案

常用的服务器端注册客户端代码
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->public abstract class ClientScript { /**//// /// 在页面中显示提示框 /// /// 要显示提示框的页面 ... 阅读全文

posted @ 2008-04-29 04:05 Viewer 阅读(244) 评论(0) 推荐(0)

将DataTable导出到Excel中
摘要:需要引用Interop.Excel Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> /**//// /// 将DataTalbe导出到Excel中 /// /// /// 生成的Excel的Sheet的名字 /// 保存的路径 pu... 阅读全文

posted @ 2008-04-29 03:59 Viewer 阅读(398) 评论(1) 推荐(0)

用ADO.NET从Excel文件中读取数据
摘要:1.用openrowset,与connection无关 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->SqlDataAdapter command = new SqlDataAdapter( "select * from openr... 阅读全文

posted @ 2008-04-29 03:47 Viewer 阅读(483) 评论(0) 推荐(0)

字符串转数据表中数据的SQL函数
摘要:将用特殊字符分隔的字符串转换成一列数据表中的数据, 在某些情况下挺有用。 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->ALTER FUNCTION [dbo].[ConvertStringArrayToTable](@StringArr... 阅读全文

posted @ 2008-04-25 22:37 Viewer 阅读(251) 评论(0) 推荐(0)

定时自动刷新页面
摘要:1. 2. window.setTimeout("__doPostBack('', '');", 300); //.NET 阅读全文

posted @ 2008-04-25 22:04 Viewer 阅读(439) 评论(0) 推荐(0)

JS的Request.QueryString
摘要:1function Request(strName) 2{ 3 var strHref = window.document.location.href; 4 var intPos = strHref.indexOf("?"); 5 var strRight = strHref.substr(intPos + 1); 6 var arrTmp = strRigh... 阅读全文

posted @ 2008-04-25 06:15 Viewer 阅读(1517) 评论(0) 推荐(0)

导航