摘要:
1 第一步,新建文件upload.aspx 2 第二步,在upload.aspx的设计页面里放入<asp:FileUpload ID="ImgUpload" runat="server" />控件和button控件,button控件的单击代码如下. 3 第三步,写代码,代码如下: 4 if (ImgUpload.FileName != null) 5 { 6 string ImgName = ImgUpload.FileName; 7 string ImgExtention = System.IO.Path.GetExtension(ImgN 阅读全文
posted @ 2012-02-22 16:40
SOD_QWER
阅读(696)
评论(1)
推荐(0)
摘要:
<script> today = new Date(); var day; var date; var hello; var wel; hour = new Date().getHours() if (hour < 6) hello = '凌晨好' else if (hour < 9) hello = '早上好' else if (hour < 12) hello = '上午好' else if (hour < 14) hello = '中午好' else if (hour < 17) h 阅读全文
posted @ 2012-02-22 16:36
SOD_QWER
阅读(1126)
评论(0)
推荐(0)
摘要:
最近开发的一个项目需要实现这么一个功能,当一个用户进行注册的时候同时发送一个邮件到注册人的邮箱,通过发送的邮箱链接来激活该帐号,具体用asp.net方法的实现代码,贴在这了,有需要的可以参考!public void SendSMTPEMail(string strSmtpServer, string strFrom, string strFromPass, string strto, string strSubject, string strBody){System.Net.Mail.SmtpClient client = new SmtpClient(strSmtpServer);clien 阅读全文
posted @ 2012-02-22 16:28
SOD_QWER
阅读(346)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Configuration;using System.Data.SqlClient;namespace 复¡ä习¡ã登Ì?录?{ public partial class 阅读全文
posted @ 2012-02-22 08:05
SOD_QWER
阅读(256)
评论(0)
推荐(0)
浙公网安备 33010602011771号