asp.net Êä³öXMLÎļþ
private void WriteXML()
{
StringBuilder sb = new StringBuilder();
sb.Append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?> ");
sb.Append(" <!-- ");
sb.Append("<content>");
sb.Append("<name>zhangsan</name>");
sb.Append("</content>");
Response.Clear();
Response.ContentType = "text/xml";
Response.Write(sb.ToString());
Response.End();
//Response.Clear();
//Response.ContentType = "text/html";
//Response.Write(" ");
//Response.End();
}
Ïà¹ØÎĵµ£º
1. DotNetNuke(ASP.NET 2.0) ¸öÈËÍƼöÉîÈëÑо¿
DotNetNukeÊÇÒ»¸öWebÓ¦Óÿò¼ÜµÄÀíÏë,Ϊ´´½¨ºÍ²¿ÊðµÄÏîÄ¿,ÈçÉÌÒµÍøÕ¾,ÆóÒµÄÚÁªÍøºÍÍâÁªÍø,ÔÚÍøÉϳö°æÃÅ»§,²¢¶¨ÖÆ´¹Ö±Ó¦ÓÃÈí¼þ¡£ ·½±ãÓû§-DotNetNukeÖ¼ÔÚʹÓû§¿ÉÒÔ¸üÇáËɵعÜÀíËùÓз½ÃæµÄÏîÄ¿¡£
ÏÂÔØÍøÖ·:http://www.dotnetnuke.com/
2¡¢Ludico
LudicoÊÇC#±àдµÄ¾ÓÓÚASP ......
ÔÚÍøÂç¾³£¿´µ½ÍøÕ¾±»¹ÒÂí¡¢Ö÷Ò³±»Ð޸ĵÄÐÂÎÅ£¬ÆäʵÕâЩÎÊÌâ¿ÉÄÜÊǶ෽ÃæµÄ£¬·þÎñÆ÷£¬ÍøÕ¾³ÌÐòµÈµÈ¡£¡£¡£µ«ÊÇÏÖÔÚÒç³öÒѾ±»ÈËÃÇÖØÊӺͷþÎñÆ÷µÄ²»¶ÏÍêÉÆ£¬·þÎñÆ÷ϵͳ©¶´Ò²²»ÊÇÄÇôÈÝÒ×·¢¾ò£¬µ±È»Ò²Òª±£Ö¤µÚÈý·½µÄÈí¼þ°²È«¡£
×öÏîÄ¿Ò²ÓÐÒ»¶Îʱ¼äÁË¡£ÔÚ³ÌÐòÖÐÒ²Óöµ½ºÜ¶à°²È«·½ÃæµÄÎÊÌâ¡£Ò²¸Ã×ܽáÒ»ÏÂÁË¡£Õâ¸öÏîÄ¿ÊÇÒ»¸öCMSÏ ......
asp.net¿ª·¢µÄÅóÓÑ£¬¾³£Óõõ½web.configÎļþµÄÅäÖã¬ËùÒÔÎÒÃÇÌØÕûÀíÁËÖÐÎÄ˵Ã÷¡£
<?xml version="1.0" standalone="yes"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<!--ÅäÖÃÈ«¾Ö±äÁ¿-->
<appSettings>
<add key="examstr" value="server=.;da ......
asp.net ½«Excelµ¼Èëµ½Sql2005»ò2000µÄ˼·ºÍ²½Ö裺
1¡¢½«ExcelÎļþÉÏ´«µ½·þÎñÆ÷¶Ë
Õâ¸öÎÒ²»ÏëÏêϸ½²ÁË,ÍøÉÏÒ»ËÑÒ»´ó°ÑµÄ.
×¢Ò⣺£¨1ÔÚÈ¡·þÎñÆ÷·¾¶Ê±Ò»¶¨ÒªÓÃthis.Page.MapPath(".")¶ø²»ÒªÓà this.Page.Request.Applic ......
һλCSDNÍøÓÑ·ÅÔÚÏÂÔØÀïµÄ
/////////////////
/// <summary>
/// ·ÖÒ³º¯Êý
/// </summary>
/// <param name="dtRecord">Êý¾ÝÔ´</param>
private void SplitPage(DataTable dtRecord) ......