上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页

2006年1月7日

ASP.NET 2.0构建动态导航的Web应用程序(TreeView和Menu )

摘要: ASP.NET 2.0构建动态导航的Web应用程序(TreeView和Menu ) document.title="ASP.NET 2.0构建动态导航的Web应用程序(TreeView和Menu ) - "+document.titleTreeView 控件关键属性CheckedNodes 声明被选择的单个或者多个节点ExpandDepth 声明TreeView控件展开的深度Nodes TreeNodeCollection类型的节点集合SelectedNode 当前被选择的节点ShowCheckBoxes 声明是否显示复选框ShowExpandCollapse 声明展示/折 阅读全文

posted @ 2006-01-07 15:39 goodvify 阅读(165) 评论(0) 推荐(0)

ASP.NET 2.0 绑定高级技巧

摘要: ASP.NET 2.0 绑定高级技巧 1.简单数据绑定定<!--ASP.NET1.xdatabindingexpression--><%#DataBinder.Eval(Container.DataItem,"Price")%><!--EquivalentASP.NET2.0databindingexpression--><%#Eval("Price")%><!--XMLdatabinding--><%#XPath("Price")%>2.数据源控件控件名 控件描 阅读全文

posted @ 2006-01-07 15:30 goodvify 阅读(309) 评论(0) 推荐(0)

取机器CPU号

摘要: using System.Management;public string getCpuID(){try{ManagementClass mc = new ManagementClass("Win32_Processor");ManagementObjectCollection moc = mc.GetInstances(); String strCpuID = null ;foreach( ManagementObject mo in moc ) {strCpuID = mo.Properties["ProcessorId"].Value.ToStri 阅读全文

posted @ 2006-01-07 11:09 goodvify 阅读(113) 评论(0) 推荐(0)

NET中各种数据库连接大全

摘要: NET中各种数据库连接大全.NET中各种数据库连接大全SQL Server ODBC Standard Security:"Driver={SQL Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;" Trusted connection:"Driver={SQL Server};Server=Aron1;Database=pubs;Trusted_Connection=yes;" Prompt for username and password:oConn.Properties("Pro 阅读全文

posted @ 2006-01-07 01:20 goodvify 阅读(160) 评论(0) 推荐(0)

2006年1月6日

关于Access的Database Engine

摘要: Use a matching Jet database file format for the version of the Jet Database Engine that is being usedFor best performance and for stability, use a Microsoft Jet 4.0 format database when you use a Microsoft Jet 4.0 client. Likewise, use a Microsoft Jet 3.0 format database when you use a Microsoft Jet 阅读全文

posted @ 2006-01-06 13:01 goodvify 阅读(432) 评论(0) 推荐(0)

2006年1月3日

Win 2003上传大文件的方法

摘要: Win 2003上传大文件的方法佚名 天极Blog | 2006-01-03 10:33 | 引:无法上传较大的文件“Request 对象 错误 ASP 0104 : 80004005”或者上传成功后,找不到文件名 问题: 无法上传较大的文件“Request 对象 错误 ASP 0104 : 80004005”或者上传成功后,找不到文件名 解决方案: 先打开Internet 信息服务(IIS)管理器 (本地计算机 )---- 属性 ----允许直接编辑配置数据库(N) 图1 一定要勾先“允许直接编辑配置数据库(N)” 然后在服务里关闭iis admin service服务 图2 找到windo 阅读全文

posted @ 2006-01-03 21:07 goodvify 阅读(122) 评论(0) 推荐(0)

2006年1月2日

Windows2003优化小贴士

摘要: 作者:佚名 编辑:箭中 日期:2005-10-14 20:02:151.禁用配置服务器向导禁止“配置你的服务器”(Manage Your Server)向导的出现:在控制面板(Control Panel) -> 管理员工具(Administrative Tools )-> 管理你的服务器(Manage Your Server)运行它,然后在窗口的左下角复选“登录时不要显示该页”(Don't display this page at logon)。2.禁用Internet Explorer Enhanced Security 和禁止安全询问框的出现在IE工具选项中自定义设置I 阅读全文

posted @ 2006-01-02 09:01 goodvify 阅读(102) 评论(0) 推荐(0)

2005年12月30日

建立微软live的邮局

摘要: 登陆http://domains.live.com进行邮局的设置。注意:建立新用户后不要急于登陆,先登陆到http://accountservices.msn.com中修改为“美国”的地址然后再登陆。空间才给开25M。 阅读全文

posted @ 2005-12-30 16:20 goodvify 阅读(122) 评论(0) 推荐(0)

如何用c#实现对中文的md5加密

摘要: 把分给我 :D以下代码对一个字符串加密,应该也支持中文,MD5是不可逆的。public static string GetMD5(string str){byte[] b=System.Text.Encoding.Default.GetBytes(str);b=new System.Security.Cryptography.MD5CryptoServiceProvider().ComputeHash(b);string ret="";for(int i=0;i<b.Length;i++){ret+=b[i].ToString ("x").PadL 阅读全文

posted @ 2005-12-30 15:49 goodvify 阅读(254) 评论(0) 推荐(0)

SQL注入

摘要: SQL注入l 何谓“SQL注入”SQL注入(SQL Injection),就是通过网站的漏洞,使用SQL命令(如:DML语句、DDL语句、SQL扩展存储过程等)获得网站正使用的数据库的信息、修改数据库记录、读取服务器的注册表、追加Windows的帐号、修改Windows帐号的权限等。l SQL注入的方式 现阶段较为流行的SQL注入工具一般是通过Get和Post方法进行注入。l SQL注入是怎样产生的使用Get方式进行注入,一般存在于形如:http://xxx.xxx.xxx/abc.asp?id=XX等带有参数的ASP动态网页中,有时一个动态网页中可能只有一个参数,有时可能有N个参数,有时是整 阅读全文

posted @ 2005-12-30 09:31 goodvify 阅读(239) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页

导航