Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net×¢²áÓû§Í¨¹ýemailÓÊÏäÑéÖ¤µÄʵÏÖ·½Ê½

 public void SendSMTPEMail(string strSmtpServer, string strfrom, string strfromPass, string strto, string strSubject, string strBody)
{
System.Net.Mail.SmtpClient client = new SmtpClient(strSmtpServer);
client.UseDefaultCredentials = false;
client.Credentials = new System.Net.NetworkCredential(strfrom, strfromPass);
client.DeliveryMethod = SmtpDeliveryMethod.Network;
System.Net.Mail.MailMessage message = new MailMessage(strfrom, strto, strSubject, strBody);
message.BodyEncoding = System.Text.Encoding.UTF8;
message.IsBodyHtml = true;
client.Send(message);
}
µÚÒ»¸ö²ÎÊýÈç¹ûÊÇ163ÓÊÏä¾Íдsmtp.163.com
µÚ¶þ¸ö²ÎÊý·¢¼þÈ˵ÄÕʺÅ
µÚÈý¸ö²ÎÊý·¢¼þÈËÃÜÂë
µÚËĸö²ÎÊýÊÕ¼þÈËÕʺÅ
µÚÎå¸ö²ÎÊýÖ÷Ìâ
µÚÁù¸ö²ÎÊýÄÚÈÝ.


Ïà¹ØÎĵµ£º

ASP.NETʵÏÖÔÚÏß²¥·ÅFLVÊÓƵ¼þµÄ´úÂë

ASP.NETʵÏÖÔÚÏß²¥·ÅFLVÊÓƵ¼þµÄ´úÂë
 
ǰ̨µ÷ÓôúÂë
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1&q ......

ASP.NET¶ÁÈ¡EXCELÎļþµÄÈýÖÖ·½·¨


1.·½·¨Ò»£º²ÉÓÃOleDB¶ÁÈ¡EXCELÎļþ£º
°ÑEXCELÎļþµ±×öÒ»¸öÊý¾ÝÔ´À´½øÐÐÊý¾ÝµÄ¶ÁÈ¡²Ù×÷£¬ÊµÀýÈçÏ£º
public DataSet ExcelToDS(string Path)
{
string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" +"Data Source="+ Path +";"+"Extended Properties=Excel 8.0;";
OleDbConnection conn = new OleDbConnection(str ......

ASP.NET Ò³ÃæÊý¾ÝУÑéÀà ÀîÌìƽÀÏʦдµÄ£¬ºÜºÃµÄ


    using System.Text.RegularExpressions;
 
/// <summary>
    /// Ò³ÃæÊý¾ÝУÑéÀà
    /// ÀîÌìƽ
    /// 2004.8
    /// </summary>
    public class PageValidate
    { ......

¹ØÓÚasp.net¶¯Ì¬Îļþת¾²Ì¬µÄhtmlÎļþ£¡

Èç¹ûҪת»¯µÄÒ³ÃæÖ»ÓÐÒ»Á½¸ö£¬ÇÒÁ½ÕßÖ®¼äµÄûʲô¹ØÁª£¬¾Í¿ÉÒÔÓÃÌæ»»·½·¨ÊµÏÖ£¬ÏÈÓÃhtml±àдºÃÒ»ÕÅÍøÒ³£¬ÔÚÐèÒªÓõ½Êý¾Ý¿âµÄµØ·½ÓÃÌØÊâµÄ±êÇ©±ê¼Ç×Å£¬ÀýÈç&idµÈ¡£ÔÚÓÃ.net±àдһÕÅaspxÍøÒ³ÓÃÓÚ°ÑÕâЩ±êÇ©Ìæ»»³ÉÏëÒªµÄÊý¾Ý¿âÄÚÈÝ£¬ÕâÑù¾ÍÐÐÁË¡£²»¹ý±È½ÏÂé·³µÄÊÇÿ´Î¸üÐÂÊý¾Ý¿â¶¼Òª×ª»¯Ò»´Î¡£
»¹ÓоÍÊÇÈç¹ûÊÇÍøÒ³Ö®¼äÓк ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ