gxh973121

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页

2007年5月24日 #

摘要: 模版页中难免要引用CSS、脚本、图片等,这些文件的路径如果简单的使用相对路径,那么如果引用模版的目录一发生变化,这些路径就会出错;如果使用绝对路径,又不够灵活,如果应用程序目录发生变化,可能会导致要大量修改。asp.net支持一种相对于应用程序的路径,以波浪线开头的,形如"~/",使用它即可解决,例如:" /> 当然如果你觉得每个路径都要写成动态的不爽,而又正好有页面基类的话,倒是可以换一种方式:... 阅读全文
posted @ 2007-05-24 11:03 gxh973121 阅读(256) 评论(0) 推荐(0) 编辑

2007年5月22日 #

摘要: 下拉框 层 被挡住 阅读全文
posted @ 2007-05-22 11:35 gxh973121 阅读(272) 评论(0) 推荐(0) 编辑

2007年4月18日 #

摘要: 效果图 后台代码: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebPa... 阅读全文
posted @ 2007-04-18 10:02 gxh973121 阅读(261) 评论(0) 推荐(0) 编辑

2007年1月11日 #

摘要: /* Copyright all(c) 2005 ZhongFeng, http://blog.csdn.net/SW515 */ public class ValidateCode : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { this.CreateCheckCodeI... 阅读全文
posted @ 2007-01-11 15:38 gxh973121 阅读(272) 评论(0) 推荐(0) 编辑

2006年10月29日 #

摘要: textBox2.Text = System.Web.HttpUtility.UrlEncode(textBox1.Text ,System.Text.UnicodeEncoding.GetEncoding("GB2312")).ToUpper(); 阅读全文
posted @ 2006-10-29 03:25 gxh973121 阅读(277) 评论(1) 推荐(0) 编辑

2006年7月19日 #

摘要: public class Love { public int field1; private string _name; public Love() { } public string Name { get { ... 阅读全文
posted @ 2006-07-19 16:26 gxh973121 阅读(280) 评论(0) 推荐(0) 编辑

2006年7月4日 #

摘要: .net Framework 提供的 MSBuild 工具可以方便我们在没有安装 Visual Studio 2005 的系统中编译项目解决方案,当然还可以与用相关工具组合进行 DailyBuild。本文只是记录 MSBuild 的一些基本用法。先看一个例子,在解决方案目录(Test.sln)命令行输入下面的命令,将会自动编译解决方案。 D:\Test> %SYSTEMROOT%\Microsof... 阅读全文
posted @ 2006-07-04 18:33 gxh973121 阅读(1012) 评论(0) 推荐(0) 编辑

摘要: form1.vb Imports System.Data.SqlClientPublic Class Form1Class Form1 Public MyCombo As New ComboBox() Dim con As New SqlConnection("server=GUOXH\SQLEXPRESS;uid=sa;pwd=1234567;database=northwind")... 阅读全文
posted @ 2006-07-04 11:31 gxh973121 阅读(407) 评论(0) 推荐(0) 编辑

2006年6月14日 #

摘要: 1. Scott Guthrie推出了他的LINQ系列的第二篇 Using DLINQ with ASP.NET (Part 2 of my LINQ series)http://weblogs.asp.net/scottgu/archive/2006/06/04/Using-DLINQ-with-ASP.NET-_2800_Part-2-of-my-LINQ-series_2900_.aspx ... 阅读全文
posted @ 2006-06-14 23:38 gxh973121 阅读(285) 评论(0) 推荐(0) 编辑

2006年6月6日 #

摘要: /* .Net/C#: 实现支持断点续传多线程下载的 Http Web 客户端工具类 (C# DIY HttpWebClient) * Reflector 了一下 System.Net.WebClient ,改写或增加了若干: * DownLoad、Upload 相关方法! * DownLoad 相关改动较大! * 增加了 DataReceive、ExceptionOccurrs 事件!... 阅读全文
posted @ 2006-06-06 18:23 gxh973121 阅读(588) 评论(0) 推荐(0) 编辑

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