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

ASP.NET ´´½¨XML

 public void CreatXml(int oid)
        {
            XmlTextWriter writer = null;
           string fileName ="a"+ oid.ToString() + ".xml";
            string path = HttpContext.Current.Request.PhysicalApplicationPath + "al/";
            writer = new XmlTextWriter(path + fileName, null);
            //ΪʹÎļþÒ׶Á£¬Ê¹ÓÃËõ½ø
            writer.Formatting = Formatting.Indented;
            //дXMLÉùÃ÷°æ±¾1.0
            writer.WriteStartDocument();
            //дһ¸öÔªËØ£¨¸ùÔªËØ£©
            writer.WriteStartElement("ClassOne");
            //¹Ø±Õ¸ùÔªËØ
            writer.WriteEndElement();
            writer.WriteEndDocument();
            //»º³åÆ÷ÄÚµÄÄÚÈÝдÈëÎļþ
            writer.Flush();
            writer.Close();
            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.PreserveWhitespace = true;
            //¼ÓÔØÎļþ
      &nbs


Ïà¹ØÎĵµ£º

asp.net(c#)ÍøÒ³ÌøתÆßÖÖ·½·¨

1.Response.Redirect("http://www.jb51.net",false);
Ä¿±êÒ³ÃæºÍÔ­Ò³Ãæ¿ÉÒÔÔÚ2¸ö·þÎñÆ÷ÉÏ£¬¿ÉÊäÈëÍøÖ·»òÏà¶Ô·¾¶¡£ºóÃæµÄboolֵΪÊÇ·ñÍ£Ö¹Ö´Ðе±Ç°Ò³¡£
ÌøתÏòеÄÒ³Ã棬ԭ´°¿Ú±»´úÌæ¡£"
ä¯ÀÀÆ÷ÖеÄURLΪз¾¶¡£
:Response.Redirect·½·¨µ¼ÖÂä¯ÀÀÆ÷Á´½Óµ½Ò»¸öÖ¸¶¨µÄURL¡£µ±Response.Redirect()·½·¨± ......

ASP.NET MVC ϵÁÐÎÄÕÂ

http://www.cnblogs.com/chsword/archive/2008/03/10/dotnetmvcframework.html
ÒÔÏÂÎÄÕÂÊôÓÚASP.NET MVC 1.0 Õýʽ°æ
ASP.NET MVCµñ³æС¼¼ 1-2
ASP.NET MVC Öصã½Ì³ÌÒ»ÖÜÄê°æ µÚʮһ»Ø ĸ°æÒ³¡¢Óû§×Ô¶¨Òå¿Ø¼þ¼°ÎļþÉÏ´«
ASP.NET MVC Öصã½Ì³ÌÒ»ÖÜÄê°æ µÚÊ®»Ø ÇëÇóController
ASP.NET MVC Öصã½Ì³ÌÒ»ÖÜÄê°æ µÚ¾Å»Ø H ......

ÈçºÎʵÏÖAsp.Net¿Ø¼þµÄË«»÷ʼþ

 Asp.net¿Ø¼þ£¨°üÀ¨Web·þÎñÆ÷¿Ø¼þºÍHtml·þÎñÆ÷¿Ø¼þ£©¶¼Ã»ÓÐË«»÷ʼþ£¬ÄÇô¸ÃÈçºÎ½«Ë«»÷ʼþ¸¶¸øAsp.Net¿Ø¼þÄØ£¿ÎÒÃÇÒÔLable¿Ø¼þΪÀý¡£
      
        Ò»¡¢Ê×ÏȼÓÈë¿Ø¼þ£¬IDΪLable1£¬È»ºó¼ÓÈëÒ»¸öButton¿Ø¼þ£¬IDΪButton1£¬´úÂëÈçÏÂ
 
& ......

´íÎó¼Ç¼£ºASP.NET(C#)ÖÐδÄܼÓÔØ×Ô¶¨ÒåÀàÐÍ£¨Àࣩ

»·¾³£ºASP.NET(C#)£¬Visual Studio 2010¡£
Ìáʾ£ºÎ´ÄܼÓÔØÀàÐÍ“EMS.App_Code.PersonalInfo”¡£Èç¹û¸ÃÀàÐÍλÓÚApp_CodeÎļþ¼ÐÖУ¬Çë¼ì²éËüÊÇ·ñÒѱàÒë¡£Èç¹û¸ÃÀàÐÍλÓÚÒѱàÒëµÄ³ÌÐò¼¯ÖУ¬Çë¼ì²é¸Ã³ÌÐò¼¯ÊÇ·ñ±»¸ÃÏîÄ¿ÒýÓá£
´¦Àí£º
×Ô¼º×öµÃÒ»¸öС³ÌÐò£¬È¡ÃûEMS£¬²¢ÔÚApp_CodeÎļþ¼ÐϽ¨Á¢ÁËÀàPersonalInfo¡¢Sal ......

asp.netÒ³Ãæ¼ä´«ÖµµÄ9ÖÖ·½Ê½

1. Get(¼´Ê¹ÓÃQueryStringÏÔʽ´«µÝ)
     ·½Ê½£ºÔÚurlºóÃæ¸ú²ÎÊý¡£
     Ìص㣺¼òµ¥¡¢·½±ã¡£
     ȱµã£º×Ö·û´®³¤¶È×Ϊ255¸ö×Ö·û£»Êý¾Ýй©ÔÚurlÖС£
     ÊÊÓÃÊý¾Ý£º¼òµ¥¡¢ÉÙÁ¿¡¢¹Ø¼üµÄÊý¾Ý¡£
     ÊÊÓ÷¶Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ