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

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

Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
  <a>aaa
  </a>
  <b>bbb
  </b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½·¨·µ»ØÁËÒ»Ìõ·ûºÏÌõ¼þµÄDataRow£¬
ÏÖÔÚÎÒÏëÈ¡³öÕâÌõDataRowÖеÄTranXmlÁеÄÐÅÏ¢£¬Í¨¹ýµã»÷Ìá½»°´Å¥½«ÆäÌá½»µ½ÁíÒ»¸öÒ³Ã棨GetXml.aspx£©£¬
ÇëÎÊÇ°ºǫ́¾ßÌåÔõôʵÏÖ£¿
×Ô¼ºÏȶ¥Ò»Ï£¬²»ÖªµÀ¿É²»¿ÉÒÔÓÃformÌá½»

string xml=TranXmlÁеÄÖµ
 byte[] sendContent = Encoding.GetEncoding("gb2312").GetBytes(xml);
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("GetXml.aspx");
  request.ContentLength = sendContent.Length;
  request.ContentType = "text/xml";
  request.Method = "POST";

  Stream stream = request.GetRequestStream();
  stream.Write(sendContent, 0, sendContent.Length);
  stream.Close();
  HttpWebResponse response = (HttpWebResponse)request.GetResponse();
GetXml.aspx
  Stream s = Request.InputStream;
  StreamReader reader = new StreamReader(s);
  string xml = reader.ReadToEnd();



Ïà¹ØÎÊ´ð£º

ASP.NET MVC¼Ü¹¹·¢²¼ÁË - .NET¼¼Êõ / ASP.NET

ASP.NET MVC¼Ü¹¹·¢²¼ÁË,ÄãÓÃÁËÂð£¿
»¹ÔÚѧϰÖÐ

ÎÒÒ²ÔÚѧϰ¡£ÂòÊ飬Ìý½Ì³Ì£¬¿´ÍøÉÏ×ÊÁÏ£¬ÏÂÔØÀý×Ó£¬¸Ð¾õÌý²»´íµÄ£¬²»¹ý±ÈÆ𹤳§Ä£Ê½£¬ËƺõÑ·É«Á˵㡣¡£¡£»¶Ó­µ½ÎÒ²©¿Í»¥Ïàѧϰ

¶¼ÓÃÁË5¸ö°æ±¾ÁË ´Ó PV1 µ½beta ......

AjaxÓëSessionµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

֮ǰÓöµ½Ò»¸öÎÊÌâ¡£
ÓÚÊÇ×öÁËÒÔÏÂʵÑ飺
Ò³Ãæ¼ÓÔغó£¬Ìá½»Ò»¸öAjaxÇëÇó(ÔݳÆΪajax1)£¬ÇëÇóµÄÏß³ÌÔÚ·þÎñÆ÷Éϱ»Ë¯Ãß10ÃëÖÓ¡£
µã»÷Ò³ÃæÉÏÒ»¸öbutton£¬´¥·¢ÁíÒ»¸öAjaxÇëÇó(ajax2)¡£
µ±Ã»ÓÐʹÓÃsession£¬ÔÚ·þÎñÆ÷δ´ ......

asp.net¿ØÖÆword~~~~¼± - .NET¼¼Êõ / ASP.NET

ÎÒÖ÷ÒªÏë¿ØÖÆÏÂword±£´æµÄµØÖ·£¬µ«ÊDZàÒë²»¹ýÈ¥£¬×ܾõµÃÊÇȱÁËusing¡£¡£¡£
лл
´úÂëÈçÏ£º
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
u ......

asp.netÖжàÏ̵߳ÄÓ¦ÓÃÔÚÄÄЩ·½Ãæ

Ç°¼¸ÌìÓÐÈËÎÊÎÒ¶àÏ̷߳½ÃæµÄ¶«Î÷£¬Ð´ÁËÔõô¾ÃµÄ³ÌÐò£¬ÎÒÒ»Ö±ÓÃ(.net 1.1)ÔÚasp.netһֱûÓùý¶àÏ̵߳ĴúÂë¡£
˵ʵ»°£¬ÎÒÒ»Ö±²»ÖªµÀ¶àÏß³ÌÔÚasp.netÄÜ×öʲô·½ÃæµÄÓ¦Óá£ÎÒÏÖÔÚ³ÌÐò¶¼ÊÇ get post Ìá½»²ÎÊý£¬´úÂëÖÐÏò ......

javascriptÈçºÎµ÷ÓÃasp.net´ø²ÎÊýµÄº¯Êý

ºǫ́£º
  protected void form_ini2(string id)
  {
  //´¦Àí´úÂë
  }
ǰ̨£º
 <script language="javascript">
 function DbClickEvent(a ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ