摘要: 通过ShowModalDialog打开的页面会自动从IE的缓存中获得内容并显示。 如果想每次通过ShowModalDialog打开的页面都自动刷新的话,只需要在脚本 中设定一个参数,例如: ShowModalDialog("xxx.aspx?id=1&tempid=223"); 其中tempid是一个xxx.aspx中并不需要使用到的参数,只要这个参数每次不同, 通过ShowModalDialog... 阅读全文
posted @ 2008-06-06 11:03 Gerald1983 阅读(313) 评论(0) 推荐(0) 编辑
摘要: CHARINDEX函数返回字符或者字符串在另一个字符串中的起始位置。CHARINDEX函数调用方法如下: CHARINDEX ( expression1 , expression2 [ , start_location ] ) Expression1是要到expression2中寻找的字符中,start_location是CHARINDEX函数开始在expression... 阅读全文
posted @ 2008-05-09 10:28 Gerald1983 阅读(678) 评论(0) 推荐(0) 编辑
摘要: 建job脚本,注意点是jobno这个变量的类型是pls_integer declare jobno pls_integer; begin sys.dbms_job.submit(job => jobno, what => 'UpdateStatus;', next_date => sysdate, ... 阅读全文
posted @ 2008-05-06 10:02 Gerald1983 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts... 阅读全文
posted @ 2008-04-25 14:11 Gerald1983 阅读(165) 评论(0) 推荐(0) 编辑
摘要: #region ExportExcel /// /// 导出Excel /// /// 需要导出的数据 public void ExportExcel(DataTable dt) { Microsoft.Office.Interop.Excel.Application xApp = new Microsoft.Office.Int... 阅读全文
posted @ 2008-04-03 17:36 Gerald1983 阅读(535) 评论(0) 推荐(0) 编辑