摘要: 因为公司要做一个服务器与客户端在线升级的软件,需要用到获取服务器上文件路径的信息,并生成对应的XML文件做了一个小软件进行测试,今天总算搞定~~能用到的朋友可以借鉴,主要代码如下:[代码] 阅读全文
posted @ 2009-02-13 15:00 亦心 阅读(1219) 评论(3) 推荐(1) 编辑
摘要: ASP.Net处理Http Request时,使用Pipeline(管道)方式,由各个HttpModule对请求进行处理,然后到达HttpHandler,HttpHandler处理完之后,仍经过Pipeline中各个HttpModule的处理,最后将HTML发送到客户端浏览器中。生命周期中涉及到几个... 阅读全文
posted @ 2009-02-04 09:26 亦心 阅读(17153) 评论(23) 推荐(9) 编辑
摘要: [代码] 阅读全文
posted @ 2008-09-09 14:36 亦心 阅读(924) 评论(2) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2008-09-09 10:38 亦心 阅读(420) 评论(0) 推荐(0) 编辑
摘要: --1.数据库备份脚本sqlserverbackup.sql-- SQLServer2000数据库系统清理用户数据库日志和备份用户数据库数据脚本declare @dumpfile varchar(50) declare @msg varchar(70) select @dumpfile = 'd:\backup\north' + datename(dw,getdate())+'.bak' sel... 阅读全文
posted @ 2008-08-29 11:36 亦心 阅读(6434) 评论(1) 推荐(0) 编辑
摘要: 删除扩展存储过程:EXEC sp_dropextendedproc 'xp_cmdshell'恢复删除的扩展存储过程:EXEC sp_addextendedproc xp_cmdshell, @dllname='xplog70.dll'xp_cmdShell -> xplog70.dllxp_dirtree -> spstart.dll 阅读全文
posted @ 2008-08-25 10:16 亦心 阅读(305) 评论(0) 推荐(0) 编辑
摘要: --insert 触发器create trigger tri_insert on student for insert as declare @stuID char(10) select @stuID=s.stuID from student s inner join inserted i on s.stuID=i.stuID if @stuID='001' begin raiserror('不... 阅读全文
posted @ 2008-08-22 15:22 亦心 阅读(1015) 评论(0) 推荐(0) 编辑
摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"> <title>无标题页</title></head><body><script type="text/javascript"> function rollImg(o... 阅读全文
posted @ 2008-08-19 16:37 亦心 阅读(337) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default5.aspx.cs" Inherits="Default5" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD... 阅读全文
posted @ 2008-08-19 16:32 亦心 阅读(3084) 评论(3) 推荐(1) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta ... 阅读全文
posted @ 2008-08-19 16:28 亦心 阅读(958) 评论(1) 推荐(0) 编辑