上一页 1 ··· 5 6 7 8 9
  2007年9月4日
摘要: 经过一天的努力研究,终于明白用户控件是怎么回事了。 完成一个实验。 阅读全文
posted @ 2007-09-04 12:15 -only- 阅读(159) 评论(0) 推荐(0) 编辑
  2007年9月3日
摘要: select name from syscolumns where id=object_id('表名') 下面这样也可以: select column_name from information_schema.columns where table_name = 'news' 阅读全文
posted @ 2007-09-03 12:16 -only- 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 首先要在框架中添加一个隐藏页,如下:re(){setTimeout("re()",30000);ipopmsg.location.href="search.asp"}这个页面的功能是没隔30000毫秒刷新一次search.asp这个页面。下面是search.asp的代码newwin=open("ne... 阅读全文
posted @ 2007-09-03 12:13 -only- 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 修改用户注册时的严格密码规则(..NET 2005 的密码验证规则 为长度8位有大小写字母而且有一个特殊字符. 以下内容将规则修改为 无特殊字符 最短密码长度为3 因为在默认情况下,membershipProvider 是需要提供密码提问和答案的,如果手动使用Membership.CreateUser(String username,String Password,String Email)的情... 阅读全文
posted @ 2007-09-03 12:09 -only- 阅读(966) 评论(0) 推荐(0) 编辑
摘要: C#代码控制 15?Convert.ToString(DataBinder.Eval(Container.DataItem, "title")).Substring(0,15):DataBinder.Eval(Container.DataItem, "title")%> CSS控制 abcdefghijklmnopqrstuvwxyz 阅读全文
posted @ 2007-09-03 12:06 -only- 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 命名空间:using System.Net.Mail; 类代码: /**//// /// C#发送邮件(163邮箱) /// /// 邮箱用户名 /// 接收人用户名 /// 邮箱密码 /// 邮件主题 /// 邮件内容 public void MailSend(s... 阅读全文
posted @ 2007-09-03 12:04 -only- 阅读(1885) 评论(1) 推荐(0) 编辑
  2007年9月2日
摘要: 用户控件UserControl.ascx 用户控件后台UserControl.ascx.cs public string zbx { get { return "UserControl"; } } public Label zbxLabel { get { return Label1; } } 页面Default.aspx ... 阅读全文
posted @ 2007-09-02 14:42 -only- 阅读(337) 评论(3) 推荐(0) 编辑
摘要: 验证码生成类ValidateNumber.cs using System; using System.Drawing; using System.Drawing.Imaging; using System.Web.UI; using System.Drawing.Drawing2D; using System.IO; /**//// /// 生成验证码的类 /// public class V... 阅读全文
posted @ 2007-09-02 14:26 -only- 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9