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

asp.net ²Ù×÷xml

asp.net ¶ÔxmlÎļþµÄ¶Áд,Ìí¼Ó,ÐÞ¸Ä,ɾ³ý²Ù×÷
ÏÂÃæÓдúÂëµ÷ÊÔÕýÈ·
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Xml;
private XmlDocument xmlDoc;
        //load xml file
        private void LoadXml()
        {
            xmlDoc=new XmlDocument();
            xmlDoc.Load(Server.MapPath("User.xml"));
        }
        //Ìí¼Ó½Úµã
        private void AddElement()
        {
            
            LoadXml();
            XmlNode xmldocSelect=xmlDoc.SelectSingleNode("user");
            
            XmlElement el=xmlDoc.CreateElement("person"); //Ìí¼Óperson½Úµã
            el.SetAttribute("name","·çÔÆ"); //Ìí¼Óperson½ÚµãµÄÊôÐÔ"name"
            el.SetAttribute("sex","Å®");   //Ìí¼Óperson½ÚµãµÄÊôÐÔ "sex"
            el.SetAttribute("ag


Ïà¹ØÎĵµ£º

asp.net profile

ʹÓÃASP.NET 2.0 Profile´æ´¢Óû§ÐÅÏ¢[·­Òë] Level 200
×÷Õß: Stephen Walther
Ô­ÎĵØÖ·£ºhttp://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnvs05/html/UserProfiles.asp
ÒëÕߣºTony Qu
¸ÅÒª£ºÐí¶àASP.NETÓ¦ÓóÌÐòÐèÒª¿ç·ÃÎʵÄÓû§ÊôÐÔ¸ú×Ù¹¦ÄÜ£¬ÔÚASP.NET1.1ÖУ¬ÎÒÃÇÖ»ÄÜÈ˹¤ÊµÏÖÕâÒ»¹¦ÄÜ¡£µ«Èç ......

¡¾×ª¡¿asp.net ¿Í»§¶Ë»Øµ÷֪ͨ


ÔÚ ASP.NET ÍøÒ³µÄĬÈÏÄ£ÐÍÖУ¬Óû§»áÓëÒ³½»»¥£¬µ¥»÷°´Å¥»òÖ´Ðе¼Ö»ط¢µÄһЩÆäËû²Ù×÷¡£´Ëʱ½«ÖØд´½¨Ò³¼°Æä¿Ø¼þ£¬²¢ÔÚ·þÎñÆ÷ÉÏÔËÐÐÒ³´úÂ룬ÇÒа汾µÄÒ³±»³ÊÏÖµ½ä¯ÀÀÆ÷¡£µ«ÊÇ£¬ÔÚÓÐЩÇé¿öÏ£¬ÐèÒª´Ó¿Í»§¶ËÔËÐзþÎñÆ÷´úÂ룬¶ø²»Ö´Ðлط¢¡£Èç¹ûÒ³ÖеĿͻ§¶Ë½Å±¾Î¬»¤Ò»Ð©×´Ì¬ÐÅÏ¢£¨ÀýÈ磬¾Ö²¿±äÁ¿Öµ£©£¬ÄÇô·¢ËÍÒ³ºÍ»ñÈ¡Ò ......

ASP.NETÖÐString.IndexOf ·½·¨µÄʹÓÃ

String.IndexOf ·½·¨ (value, [startIndex], [count])
¡¡¡¡±¨¸æÖ¸¶¨×Ö·ûÔÚ´ËʵÀýÖеĵÚÒ»¸öÆ¥ÅäÏîµÄË÷Òý¡£ËÑË÷´ÓÖ¸¶¨×Ö·ûλÖÿªÊ¼£¬²¢¼ì²éÖ¸¶¨ÊýÁ¿µÄ×Ö·ûλÖá£
¡¡¡¡²ÎÊý
¡¡¡¡value
¡¡¡¡Òª²éÕÒµÄ Unicode ×Ö·û¡£ ¶Ô value µÄËÑË÷Çø·Ö´óСд¡£
¡¡¡¡startIndex£¨Int32£©
¡¡¡¡¿ÉÑ¡ÏËÑË÷ÆðʼλÖᣲ»ÉèÖÃÔò´Ó0¿ªÊ¼¡£
......

ÔõÑùÉèÖÃÒÑ·¢ËÍÓʼþ²»ÔÙ·¢ËÍ asp.net

¾ÍÊÇÔÚʹÓÃjmail·¢ËÍÓʼþʱ£¬Ê¹ÓõÄÊÇ×Ô¶¯É¨Ãè¹æ¶¨¼ä¸ôʱ¼ä×Ô¶¯·¢Ë͵ģ¬ÏÖÔÚÊÇÏëʵÏÖÒѾ­·¢Ë͵ÄÓʼþ½«²»ÔÙ·¢ËÍ£¬¸÷λ´óϺÔõôʵÏÖ£¬ÇóÖú£¡
Ê×ÏÈÃ÷È·µÄÊÇÔÚÊý¾Ý¿â±íÖв¢Ã»Óбêʶ×Ö¶ÎÀ´±æ±ðÓʼþÊÇ·ñÒѾ­·¢ËÍ¡£Èç¹ûÎÒÀ´ÉèÖÃÒ»¸öÈ«¾Ö±äÁ¿À´´æ´¢ÕâЩÒѾ­·¢ËÍÓʼþµÄID£¬È»ºóÔÚÔÙ´ÎɨÃèʱÀ´±æ±ðÕâЩIDÊÇ·ñÒѾ­´æÔڵķ½Ê½À´Åжϣ¬¸ ......

¡¾asp.net¡¿´úÂëÖмâÀ¨ºÅºÍ°Ù·ÖºÅµÄº¬Òå

1¡¢<%=%> ÀïÃæ·ÅµÄ±äÁ¿Ãû£¬È磺
<div>
<h1>Hello World</h1>
<p>Welcome to Beginning ASP.NET 3.5 on <%=
DateTime.Now.ToString() %></p>
</div>
Êä³ö½á¹ûΪ£º
Hello World
Welcome to Beginning ASP.NET 3.5 on 2009-11-10 15:53:08
2¡¢ <%#%> ÕâÀïÊÇÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ