2010年7月28日

xp远程桌面登录

摘要: xp做服务器,默认好像不能远程登录,需要先本地登录,才能被连接1.本地自动登录运行 rundll32 netplwiz.dll,UsersRunDll 要使用本机,用户必须输入用户名和密码 勾去掉2.改组策略单击开始,单击运行,键入 MMC,然后按 ENTER 键。单击文件,然后单击“添加/删除管理单元”。单击添加,选择组策略,单击添加,然后单击完成。单击关闭,然后单击确定... 阅读全文

posted @ 2010-07-28 21:02 优雅小猪 阅读(313) 评论(0) 推荐(0) 编辑

2010年4月1日

xmlhttp调用后台

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<scriptlanguage="javascript"type="text/javascript">functionCallServer(url){//xml=newActiveXObj... 阅读全文

posted @ 2010-04-01 17:47 优雅小猪 阅读(309) 评论(0) 推荐(0) 编辑

2010年3月26日

w3c的web标准校验工具

摘要: http://www.w3.org/QA/Tools/#validators 阅读全文

posted @ 2010-03-26 10:45 优雅小猪 阅读(262) 评论(0) 推荐(0) 编辑

最小高度的实现

摘要: <style type="text/css"><!--#mrjin {background:#ccc;min-height:100px; height:auto !important; height:100px; overflow:visible;}--></style> 阅读全文

posted @ 2010-03-26 09:58 优雅小猪 阅读(242) 评论(0) 推荐(0) 编辑

2010年3月25日

div左右排版

摘要: <!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"><html><head><title>左右布局-左边定宽,右边不定宽;右在上,左在下</title><link rel="stylesheet" type... 阅读全文

posted @ 2010-03-25 13:20 优雅小猪 阅读(11913) 评论(1) 推荐(0) 编辑

2010年3月24日

网页上运行代码和复制代码

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-t... 阅读全文

posted @ 2010-03-24 17:12 优雅小猪 阅读(491) 评论(0) 推荐(0) 编辑

asp.net上传多个文件

摘要: 上传一个或者多个文件需要把form写成这样:<form method="post" id="form1" onsubmit="/*postForm();return false;*/" action="Default.aspx" style="margin:0px;" runat="server" enctype="multipart/form-data"> 选择上传图片: <b... 阅读全文

posted @ 2010-03-24 14:15 优雅小猪 阅读(2144) 评论(2) 推荐(1) 编辑

div vertical-align不起作用解决办法

摘要: 要加上line-height,并且加上<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">CSS代码:#div-a{height:60px;line-height:60px;}XHTML代码:<... 阅读全文

posted @ 2010-03-24 11:12 优雅小猪 阅读(6226) 评论(3) 推荐(0) 编辑

2009年7月31日

parentNode、parentElement,childNodes、children

摘要: parentNode,childNodes是标准的http://fluagen.blog.51cto.com/146595/50834 阅读全文

posted @ 2009-07-31 10:46 优雅小猪 阅读(203) 评论(0) 推荐(0) 编辑

2009年7月29日

web后台运行任务(zz)

摘要: 在复杂的业务应用程序中,有时候会要求一个或者多个任务在一定的时间或者一定的时间间隔内计划进行,比如定时备份或同步数据库,定时发送电子邮件,定期处理用户状态信息,支付系统中定期同步异常账单等等,我们称之为计划任务。实现计划任务的方法也有很多,可以采用SQLAgent执行存储过程,采用Windows任务调度程序来实现,也可以使用Windows服务来完成我们的计划任务,这些方法都是不错的解决方案。但是,... 阅读全文

posted @ 2009-07-29 13:52 优雅小猪 阅读(1275) 评论(0) 推荐(0) 编辑

导航