asp.netÖÐSystem.DateTime.Now.ToString()µÄһЩÓ÷¨
Asp.netÖеÄÈÕÆÚ´¦Àíº¯Êý
//2009Äê4ÔÂ24ÈÕ
this.TextBox6.Text = System.DateTime.Now.ToString("D");
//2009-4-24
this.TextBox7.Text = System.DateTime.Now.ToString("d");
//2009Äê4ÔÂ24ÈÕ 16:30:15
this.TextBox8.Text = System.DateTime.Now.ToString("F");
//2009Äê4ÔÂ24ÈÕ 16:30
this.TextBox9.Text = System.DateTime.Now.ToString("f");
//2009-4-24 16:30:15
this.TextBox10.Text = System.DateTime.Now.ToString("G");
//2009-4-24 16:30
this.TextBox11.Text = System.DateTime.Now.ToString("g");
//16:30:15
this.TextBox12.Text = System.DateTime.Now.ToString("T");
//16:30
this.TextBox13.Text = System.DateTime.Now.ToString("t");
//2009Äê4ÔÂ24ÈÕ 8:30:15
this.TextBox14.Text = System.DateTime.Now.ToString("U");
//2009-04-24 16:30:15Z
this.TextBox15.Text = System.DateTime.Now.ToString("u");
//4ÔÂ24ÈÕ
this.TextBox16.Text = System.DateTime.Now.ToString("m");
this.TextBox16.Text = System.DateTime.Now.ToString("M");
//Tue, 24 Apr 2009 16:30:15 GMT
this.TextBox17.Text = System.DateTime.Now.ToString("r");
this.TextBox17.Text = System.DateTime.Now.ToString("R");
//2009Äê4ÔÂ
this.TextBox19.Text = System.DateTime.Now.ToString("y");
this.TextBox19.Text = System.DateTime.Now.ToString("Y");
//2009-04-24T15:52:19.1562500+08:00
this.TextBox20.Text = System.DateTime.Now.ToString("o");
this.TextBox20.Text = System.DateTime.Now.ToString("O");
//2009-04-24T16:30:15
this.TextBox18.Text = System.DateTime.Now.ToString("s");
//2009-04-24 15:52:19
this.TextBox21.Text = System.DateTime.Now.ToString("yyyy-MM-dd HH£ºmm£ºss£ºffff");
//2009Äê04ÔÂ24 15ʱ56·Ö48Ãë
this.TextBox22.Text = System.DateTime.Now.ToString("yyyyÄêMMÔÂdd HHʱmm·ÖssÃë");
ת×Ô£ºhttp://www.cnblogs.com/X-Jonney/archive/2009/07/30/1535047.html
Ïà¹ØÎĵµ£º
.NETÒ»¸öFTP²Ù×÷Àà¡£µ«Õâ¸öÀླ£³ö´í£¬Ê¹ÓÃDISCUZʹÓõÄÀà¾ÍºÃ¶àÁË¡£
ÏÈ¿´Õâ¸ö¼òµ¥µÄ
¸´ÖÆ´úÂë ´úÂëÈçÏÂ:
FTP ftp = new FTP("192.168.1.117", "ahuinan", "123456");
string oldname = this.FileUpload1.PostedFile.FileName;
string newname = dd + h + mm + ss + oldname.Substring(oldname.LastIndexOf(".")); ......
啟動£ºMicrosoft .NET Framework 2.0 Configuration-->Runtion Security Policy-->ÓÒ鍵-->Adjust Security-->Make changes to this &nbs ......
asp.net ½«Excelµ¼Èëµ½Sql2005»ò2000µÄ˼·ºÍ²½Ö裺
1¡¢½«ExcelÎļþÉÏ´«µ½·þÎñÆ÷¶Ë
Õâ¸öÎÒ²»ÏëÏêϸ½²ÁË,ÍøÉÏÒ»ËÑÒ»´ó°ÑµÄ.
×¢Ò⣺£¨1ÔÚÈ¡·þÎñÆ÷·¾¶Ê±Ò»¶¨ÒªÓÃthis.Page.MapPath(".")¶ø²»ÒªÓà this.Page.Request.Applic ......
MD5µÄÈ«³ÆÊÇMessage-Digest Algorithm 5£¨ÐÅÏ¢-ÕªÒªËã·¨£©£¬ÔÚ90Äê´ú³õÓÉMit Laboratory for Computer ScienceºÍRsa data security incµÄRonald l. rivest¿ª·¢³öÀ´£¬¾md2¡¢md3ºÍmd4·¢Õ¹¶øÀ´¡£ËüµÄ×÷ÓÃÊÇÈôóÈÝÁ¿ÐÅÏ¢ÔÚÓÃÊý×ÖÇ©ÃûÈí¼þÇ©Êð˽ÈËÃܳ×ǰ±»"ѹËõ"³ÉÒ»ÖÖ±£Ãܵĸñʽ£¨¾ÍÊǰÑÒ»¸öÈÎÒⳤ¶ÈµÄ×Ö½Ú´®±ä»»³ÉÒ»¶¨³¤µÄ´óÕ ......