09 2010 档案

摘要:一、Windows 7远程桌面连接设置1、运行远程桌面程序点击开始菜单,输入mstsc,运行mstsc.exe,位置:C:\windows\system32\ 阅读全文
posted @ 2010-09-28 17:00 DODUI 阅读(165) 评论(0) 推荐(0)
摘要:2009-09-24 07:34:50 来自:黄进123 浏览数:26次 我的电脑装了vs2005和vs2008.我在运行中输入devenv会打开vs2005而不是vs2008,请问我该如何修改才可以打开vs2008?更多相关的话题 dangzezhou回复于24日07点46分  http://geekswithblogs.net/ayub/archive/2008/12/12/tweaking-... 阅读全文
posted @ 2010-09-28 15:46 DODUI 阅读(235) 评论(0) 推荐(0)
摘要:1.在iis发布自己的网站,绑定端口号。在自己的iis上面访问自己的网站是否成功。(注意:电信的不能用80端口)2.tplink 转发规则 添加新条目。 端口设置自己的网站的端口和加入的端口一致,设置自己的内网ip3.关闭防火墙4.获取到自己的网络ip,然后浏览 http://外网ip:端口号5.在花生壳上面注册一个账号。默认就是 http://自己的账号.gicp.net:端口号/6.然后再路由... 阅读全文
posted @ 2010-09-28 15:45 DODUI 阅读(254) 评论(0) 推荐(0)
摘要:1.首页要设置你的邮件账号开启了smtp Server2.简单的3.5都显示过期的发送邮件代码代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->MailMessagemessage=newMailMessage();message.From="120554323@qq.com";message.BodyFormat=MailFormat.Html;message.Fields.Add("http://schem 阅读全文
posted @ 2010-09-28 14:37 DODUI 阅读(219) 评论(0) 推荐(0)
摘要:Introduction: 将GridView中的数据导出为Excel是web应用中的常见功能。在不同的应用场景下有不同的导出技术。在本文中我将介绍一些导出的技术,希望对您有所帮助GridView Export the Excel (Basic Code): . 首先看一个基础的应用。创建一个表格,见截图 然后将数据库中的数据绑定到GridView中的数据,代码如下:private void BindData(){SqlConnection myConnection = new SqlConnection("Server=localhost;Database=School;Trust 阅读全文
posted @ 2010-09-25 17:01 DODUI 阅读(281) 评论(0) 推荐(0)
摘要:在WINDOWS 7上安装了IIS7.5,调试ASP程序时出现以下错误:An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out ... 阅读全文
posted @ 2010-09-23 00:45 DODUI 阅读(337) 评论(0) 推荐(0)
摘要:1. select top (18 * 1) ReviewID from Review WHERE ProductID = 0报错'(' 附近有语法错误。 sql05不报错 阅读全文
posted @ 2010-09-20 17:10 DODUI 阅读(137) 评论(0) 推荐(0)
摘要:1.如果服务器上面有ldb,传不上去。重新传上web.config重启服务。就搞定2.如果整个网站是用access数据库建设的,完成的时候,.mdb要修改成.cgi,.config..等客服端无法访问的后缀. 阅读全文
posted @ 2010-09-20 17:07 DODUI 阅读(315) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--ifexists(select*fromsysobjectswhere[name]='Trig_MemberGropu')droptriggerTrig_MemberGropugocreatetrig... 阅读全文
posted @ 2010-09-20 11:41 DODUI 阅读(242) 评论(0) 推荐(0)
摘要:图片防盗链之HttpHandler方法实现作者:hayden 日期:2009-07-31字体大小: 小 中 大 在网上搜索到了的答案都极其珍贵,这次,是关于.NET应用相关的,需要对图片相关文件进行防盗链,而又没有相关服务器的权限,不过幸好.net的功能很强大,足以满足各种需求了。以下是摘抄了,基本上可以直接使用形的。1:创建文件 CustomHandler.cs,代码如下:复制内容到剪贴板 程序代码using System;using System.Web;namespace CustomHandler{public class JpgHandler : IHttpHandler{ p... 阅读全文
posted @ 2010-09-16 23:13 DODUI 阅读(437) 评论(0) 推荐(0)
摘要:asp.net中当服务器出错时显示指定的错误页面同时把错误信息写入系统日志文件的探讨一,在Web.config中填写出错时显示的页面,可以根据不同的statusCode显示不同的出错页面。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->二,在Global.asax文件中添加应用出错代码,写入系统日志文件代码Code highlighting produced by Actipro CodeHighlighter (freeware)htt 阅读全文
posted @ 2010-09-16 23:05 DODUI 阅读(354) 评论(0) 推荐(0)
摘要:1.更换数据库用户名代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--CREATEPROCEDUREdbo.changename@OldOwnerasNVARCHAR(128),--参数原所有者@NewOwnerasNVARCHAR(128)--参... 阅读全文
posted @ 2010-09-15 11:37 DODUI 阅读(514) 评论(0) 推荐(0)
摘要:1.sql去掉字母代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--createfunctiondbo.F_Get_No(@Novarchar(100))RETURNSbigintASBEGINWHILEPATINDEX('%[^0-9]%',@No... 阅读全文
posted @ 2010-09-14 17:03 DODUI 阅读(321) 评论(0) 推荐(0)
摘要:1.分离字母和数字Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->stringinput="DONGFANGZHIZHU19770822";stringalpha="";stringnumber="";foreach(charcininput){if(Char.IsNumber(c))number+=c;elsealpha+=c;}2.截取字符Code highlighting pr 阅读全文
posted @ 2010-09-14 16:50 DODUI 阅读(209) 评论(0) 推荐(0)
摘要:1 自己添加代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->ds.Tables.Add("Table1");.ds.Tables[0].Columns.Add("ErrMessage",typeof(string));//DataTabledt=newDataTable();//dt.Columns.Add("Remark",typeof(string));//dt.TableN 阅读全文
posted @ 2010-09-14 15:50 DODUI 阅读(311) 评论(0) 推荐(0)
摘要:1.短时间格式:<%# DataBinder.Eval(Container.DataItem, "Company_Ureg_Date ", "{0:yyyy-M-d} ")%> 阅读全文
posted @ 2010-09-14 13:52 DODUI 阅读(143) 评论(0) 推荐(0)