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

ASP.Net²Ù×÷XMLµÄÒÉÎÊ£¬Çë´ó¼Ò°ïæ

ÎÒÒѾ­Ð´ºÃÒ»¸öxmlÎļþ£¬Ãû³ÆΪ¡°TestXML.xml¡±ÄÚÈÝÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<ProductList>
  <Title>Title </Title>
  <!--

-->
  <SectionNode>
    <SectionTitle>nNodeID.ToString() </SectionTitle>
    <Description>Description </Description>
    <SingleSelect>false </SingleSelect>
    <ProductItem>
      <!--ÕæÐÄÏã¹Ï×Ó75¿Ë-->
      <PePID>9816 </PePID>
      <DefaultSelection>false </DefaultSelection>
      <DefaultNumber>1 </DefaultNumber>
      <Discount>1 </Discount>
      <Visible>true </Visible>
    </ProductItem>
  </SectionNode>
</ProductList>

ÏÖÔÚÐèÒª´ÓÊý¾Ý¿â¶Á³öÏàÓ¦µÄÄÚÈÝ£¬È»ºóдµ½Õâ¸öÒѾ­´æÔÚµÄxmlÎļþÖС£ÎҵĴúÂëÈçÏ£º
if ((ds.Tables.Count == 1) && (ds.Tables[0].Rows.Count != 0))
{
    XmlDocument rDoc = new XmlDocument();
    rDoc.Load(MapPath("TestXml.xml"));

    XmlElement root = rDoc.DocumentElement;

    XmlNode rXmlTitle = rDoc


Ïà¹ØÎÊ´ð£º

asp.net Ï̵߳ÄÎÊÌ⣿ - .NET¼¼Êõ / ASP.NET

Ç°¶Îʱ¼äÅöµ½Ò»µÀÃæÊÔÌâÈçÏ£º
test.aspxÒ³ÃæÓÐÈçÏ´úÂ룺
 Response.Write(Test.GetDate());
TestÀàÈçÏ£º
public class Test
{
  static string dt="";
  public static s ......

asp.net»ñÈ¡Îļþ¼Ð·¾¶ - .NET¼¼Êõ / ASP.NET

ASP.NETÈçºÎÓÃÒ»¸ö°´Å¥ÊµÏÖÑ¡ÔñÎļþ¼Ð·¾¶µ½Îı¾¿òÖУ¿£¨×¢ÒâÊÇÎļþ¼Ð·¾¶£¬²»ÊÇÎļþ·¾¶£©
http://blog.csdn.net/xianfajushi/archive/2008/10/18/3094474.aspx

Õâ²»ÊÇÎÒÒªµÄЧ¹û£¬ÎÒÒªÓõÄÊÇÀàËÆÓÚÎļþÉÏ´«¿ÉÒ ......

asp.net mvc Õ¾µã·¢²¼Åöµ½ÎÊÌâ - .NET¼¼Êõ / ASP.NET

·þÎñÆ÷ÏÖÔÚÊÇ¡£net 2.0µÄ
ÎÒÏÖÔÚµÄÏîÄ¿¾ÍÊÇasp.net mvc + linqµÄ£¬ÏÖÔÚ·þÎñÆ÷µÄ»·¾³ÅäÖÃÓò»ÁË¡£
²»ÖªµÀÓÐÇ°±²Åöµ½¹ýÕâÑùµÄÎÊÌâû¡£
ÄѵÀ·þÎñÆ÷±ØÐëҪװ.net3.5 ºÍ asp.net mvc
ÇëÇ°±²Ö¸µã
²»×°ÄãÈÏΪÄãÒªÔõô ......

ÈçºÎÌá½»xmlÀàÐÍÊý¾Ý - .NET¼¼Êõ / ASP.NET

Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
  <a>aaa
  </a>
  <b>bbb
  </b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......

asp.net Button µ¯³öÈ·È϶Ի°¿ò

asp.net µã»÷Button µ¯³öÈ·È϶Ի°¿ò ÊÇ·ñÍ˳ö
Response.Write(@"<script language='javascript'>window.close();</script>");

onclientclick="return confirm('ÊÇ·ñÍ˳ö')" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ