asp.netĸ°æҳʹÓÿؼþʱ,¿Ø¼þÖз¾¶ÎÊÌâ
¸Õ¸ÕÔÚheadmenu¿Ø¼þÀïÃæдÁËÒ»¸öµ¼º½Ìõ,Óõ½Á˱¾µØµÄͼƬ,ÔڿؼþÖÐÏÔʾÁ¼ºÃ,¿ÉÊǷŵ½Ä¸°æʽҳºó,·¢ÏÖµ¼º½Ìõ±³¾°Í¼Æ¬Ã»ÁË,ÓÚÊÇ×Ðϸ¼ì²éÁËÏÂͼƬµÄurl,ÎÒÓõÄÊǾø¶Ô·¾¶,ÄѵÀ·ÅÔÚÖ÷Ò³ÉϺó,·¾¶Ò²¸Ä±äÁË,ÉÏÍø²éÁËÏÂ,»¹ÕæÊÇÕâ¸öÎÊÌâ,ͼƬÔڿؼþÀïÃæ¿´²»µ½Ã»¹Øϵ,¹Ø¼üÊÇÒªÔÚĸ°æʽҳÄÜ¿´µ½¾ÍÐÐ,·¾¶¶¼Òª¸ù¾Ýĸ°æÒ³µÄд.
Ïà¹ØÎĵµ£º
1¡¢DateTime Êý×ÖÐÍ
System.DateTime currentTime=new System.DateTime();
1.1 È¡µ±Ç°ÄêÔÂÈÕʱ·ÖÃë
currentTime=System.DateTime.Now;
1.2 È¡µ±Ç°Äê
&nb ......
asp.netÎļþÉÏ´«£¨0£©
2009Äê04ÔÂ13ÈÕ ÐÇÆÚÒ» ÏÂÎç 06:11
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"& ......
ÒòΪÏîÄ¿ÖÐҪʹÓÃajaxÉÏ´«Í¼Æ¬Îļþ£¬ÓÖÎÞ·¨ÕÒµ½ºÏÊʵÄjquery²å¼þ£¬Ö»ÓÐ×Ô¼º¶¯ÊÖдһ¸ö¡£Ë¼Â·ÈçÏ£º
1.ÓÃjsÈ¡µÃÎļþµÄÍêȫ·¾¶
2.ajax´«µ½ºǫ́
3.ʹÓÃwebclientµÄuploadfileÉÏ´«Îļþ¡£
Ò»ÇÐÊÓºõûÓÐÎÊÌâÁË£¬µ«ÊÇʵ¼Ê¿ª·¢ÖУ¬±¾»ú²âÊÔûÓÐÈκÎÎÊÌ⣬µ«ÊDz¿ÊðºóÈ´×ÜÊÇÕÒ²»µ½ÉÏ´«µÄÎļþ£¬µ÷ÊÔ´úÂëºó·¢ÏÖÎÞ·¨·ÃÎÊ¿Í»§¶Ë·¾¶µ ......
Õý³£²Ù×÷Çé¿öÏ»áÓÐASP.NET Session¶ªÊ§µÄÇé¿ö³öÏÖ¡£ÒòΪ³ÌÐòÊÇÔÚ²»Í£µÄ±»²Ù×÷£¬ÅųýSession³¬Ê±µÄ¿ÉÄÜ¡£ÁíÍ⣬Session³¬Ê±Ê±¼ä±»É趨³É60·ÖÖÓ£¬²»»áÕâô¿ì¾Í³¬Ê±µÄ¡£
ÏÖÔÚÎҾͰÑÔÒòºÍ½â¾ö°ì·¨Ð´³öÀ´¡£
ASP.NET Session¶ªÊ§ÔÒò£º
ÓÉÓÚAsp.net³ÌÐòÊÇĬÈÏÅäÖã¬ËùÒÔWeb.ConfigÎļþÖйØÓÚSessionµÄÉ趨ÈçÏ£º
< sessi ......
//ASP.NET»ñÈ¡ÖÐÎÄÊ××Öĸ
public class Converter
{
static public string GetChineseSpell(string strText)
{
......