上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 75 下一页
摘要: /**//// /// CSV出力 /// /// CSV_NAME /// CSV_CONTENT /// Response /// /// public static bool OUTPUT_CSV(string pCSV_NAME, string pCSV_CONTENT, HttpResponse pR... 阅读全文
posted @ 2007-11-13 17:53 Nina 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Private Sub toExcel()Sub toExcel(ByVal tb As DataTable) Dim dgrid As System.Web.UI.WebControls.DataGrid = Nothing Dim context As System.Web.Ht... 阅读全文
posted @ 2007-11-13 17:52 Nina 阅读(927) 评论(0) 推荐(0) 编辑
摘要: /**//// /// 下载文件 /// /// public static void DownloadFile(string filepath) { string strContentType = " "; string strFileName = " "; string strFilePath = " "; int intIndex1 = ... 阅读全文
posted @ 2007-11-13 17:51 Nina 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 2007-10-01 /2007-10-1 兩種:/^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]... 阅读全文
posted @ 2007-11-13 10:48 Nina 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 很多时候我们可能都需要这么一个简繁互相转换的SQL函数,今天在网上找到的,收集下来。以后有了它就省事多啦。不用再写程序取出来转换后再更新数据库了。 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->--生成码表if exists (select * fr... 阅读全文
posted @ 2007-11-12 16:34 Nina 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 人们总喜欢在帖子中加上各种有用的URL链接或Email地址。而笔者当初设计时没有考虑到这一点,使得这些URL链接或Email地址只能以文字的形式而并不是以超链接的形式显示,其它浏览帖子的人还必须把这些URL链接拷贝到浏览器中或把Email地址拷贝到Outlook中才能转到相应的链接地址或发送电子邮件到相应的Email地址。 发现这个问题后,笔者即着手进行解决。首先是从网上查找有关这方面的现在代... 阅读全文
posted @ 2007-10-30 17:11 Nina 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shiftKey event.altKey event.ctrlKey 事件返回值 ... 阅读全文
posted @ 2007-10-29 19:16 Nina 阅读(700) 评论(1) 推荐(0) 编辑
摘要: create index ix_goodpn on EB_Admin_Good(GoodPN)聚集索引 create clustered index ix_goodpn on EB_Admin_Good_New(GoodPN) 阅读全文
posted @ 2007-10-24 12:46 Nina 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 今天工作中,遇到需要将txt文件转化到内存表dataset中,于是写了一个方法来实现:txt文件是特定格式的,文件中,一条记录为一行,各字段之间用“|”分割(注:最后一个字段后,有”|”)各字段依次为数据库中的相应字段。 举例如下: ID号|线路编码|车站编码|运行模式|模式设置日期|模式设置时间 1|98|9821|06|20070913|211835| 方法如下... 阅读全文
posted @ 2007-10-22 14:38 Nina 阅读(1303) 评论(4) 推荐(0) 编辑
摘要: 由於企業內部或政府部門經常使用Office文件,使得透過網站功能自動輸出Office文件成為大量的需求,甚至部分網頁系統在政府採購標單內指定要求此功能;要輸出成為Office文件,大部分採用Automation (DCOM)方式,以物件操控方式建立,在這類前提下,只能選擇ASP/ASP.NET作為建立的網頁平台。 而即使使用物件操控建立,網頁使用者權限不足,開發者接著就是面對一連串的權限調整,... 阅读全文
posted @ 2007-10-22 10:37 Nina 阅读(938) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 75 下一页