ASP.Net 1.1 ÈçºÎ·¢ËÍ´øÓи½¼þµÄÓʼþ
Private Sub SendEmail()
Dim email As System.Web.Mail.MailMessage = New Mail.MailMessage
Dim emailsmtp As System.Web.Mail.SmtpMail
Dim emailattch As System.Web.Mail.MailAttachment
email.from = "mingl@appfinityasia.com"
email.To = "dongzhi@gmail.com"
email.Subject = "email test" & System.DateTime.Now.ToString
email.Body = "email body"
emailattch = New Mail.MailAttachment("e:\test.txt", System.Web.Mail.MailEncoding.Base64)
email.Attachments.Add(emailattch)
emailsmtp.Send(email)
End Sub
Ïà¹ØÎĵµ£º
£±¡¢½â¾öCookie¸üÐÂÖͺóµÄÎÊÌâ
¡¡¡¡ÏÈдÈëÒ»¸ö¹ýÆÚµÄCookie£¬ÔÙÌí¼ÓÒ»¸öеÄCookie¾Í£Ï£ËÁË¡£Ê¾Àý´úÂëÈçÏÂËùʾ£º
protected void btnSearch_Click(object sender, EventArgs e)
{
//Éú³ÉÌõ¼þ±í´ïʽ
string where = bll.GetWhereSql(Int32.Parse(ddlCate.SelectedValue),
......
ÔÚÈí¼þ¿ª·¢ÖУ¬°ÑÊý¾Ý´ÓÒ»¸öµØ·½¸´ÖƵ½ÁíÒ»¸öµØ·½ÊÇÒ»¸öÆÕ±éµÄÓ¦Óá£
Ôںܶ಻ͬµÄ³¡ºÏ¶¼»áÖ´ÐÐÕâ¸ö²Ù×÷£¬°üÀ¨¾Éϵͳµ½ÐÂϵͳµÄÒÆÖ²£¬´Ó²»Í¬µÄÊý¾Ý¿â±¸·ÝÊý¾ÝºÍÊÕ¼¯Êý¾Ý¡£ ASP.NET
2.0ÓÐÒ»¸öSqlBulkCopyÀ࣬Ëü¿ÉÒÔ°ïÖúÄã´Ó²»Í¬µÄÊý¾ÝÔ´¸´ÖÆÊý¾Ýµ½SQL SERVERÊý¾Ý¿â¡£
±¾ÎÄÖÐÎÒ½«Ê¾·¶SqlBulkCopyÀàµÄ²»Í¬Ó¦Óá£
Êý¾Ý¿âÉè ......
ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.locatio ......
SQL·þÎñÆ÷ ODBCÁ¬½Ó·½Ê½
±ê×¼°²È«Á¬½Ó
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
ÐÅÈÎÁ¬½Ó
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Trusted_Connection=Yes;
ÌáʾÊäÈëÓû§ÃûºÍÃÜÂ뷽ʽ
Õâ¸öÓÐÒ»µãÎÊÌ⣬Ê×ÏÈÄãÐèÒªÉèÖÃÒ»¸öPro ......
ÏÈÉý¼¶ieµ½5.5°æÒÔÉÏ
1 ÏÂÔØÖÐÎÄ°æIE6:http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/CN/ie6setup.exe
2 ÏÂÔØmdac°²×° Ö±½ÓÏÂÔØ2.8ÖÐÎÄ°æ:http://download.microsoft.com/download/8/b/6/8b6198c0-fe96-4811-9d81-
d5c76dd5fea8/MDAC_TYP.EXE
3 È»ºóÏÂÔØ.NET Framework 1.1°æ¿ÉÔ ......