2008年12月2日

ASP.NET程序中常用的三十三种代码

摘要: 1. 打开新的窗口并传送参数:   传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>")  接收参数:string a = Request.QueryString("id");string b = ... 阅读全文

posted @ 2008-12-02 11:00 老枪 阅读(226) 评论(0) 推荐(0) 编辑

使用System.Web.Mail通过需验证的邮件服务器发送邮件

摘要: using System;using System.Web.Mail;namespace ZZ{public class SystemMail{private string _adminEmail;private string _smtpServer = "localhost";private string _password;private string _userName;public Sys... 阅读全文

posted @ 2008-12-02 10:57 老枪 阅读(157) 评论(0) 推荐(0) 编辑

40种网页常用小技巧(javascript)

摘要: 40种网页常用小技巧(javascript)1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于Table2. <body onselectstart="return fa... 阅读全文

posted @ 2008-12-02 10:54 老枪 阅读(155) 评论(0) 推荐(0) 编辑

导航