ÔÚasp.netÖÐÉú³ÉhtmlÎļþ´úÂëÈçÏÂ
ÔÚasp.netÖÐÉú³ÉhtmlÎļþ´úÂëÈçÏÂ
public static bool CreatHtmlPage(string[] strNewsHtml, string[] strOldHtml, string strModeFilePath, string strPageFilePath)
{
bool Flage = false;
StreamReader ReaderFile = null;
StreamWriter WrirteFile = null;
//ÐÞ¸Ämode.htmµ½incĿ¼ÏÂ
strModeFilePath = "../inc/" + strModeFilePath;
string FilePath = HttpContext.Current.Server.MapPath(strModeFilePath);
Encoding Code = Encoding.GetEncoding("gb2312");
string strFile = string.Empty;
try
{
ReaderFile = new StreamReader(FilePath, Code);
strFile = ReaderFile.ReadToEnd();
}
catch (Exception ex)
{
throw ex;
}
finally
 
Ïà¹ØÎĵµ£º
»ù±¾½á¹¹£º
µÚÒ»²½×¼±¸ÊµÌåÀࣺ
[Serializable]
public class Person
{
/// <summary>
/// 񅧏
/// </summary>
&n ......
public void MyGetDepart()
{
string sSql = @"select DepartId,DepartName as 'Ç廪¸½ÖÐ',ParentId from sDepart";
DataTable table = CommClass.GetDataTable(sSql);//BoolDAL.DbHelper.GetDataTabl ......
² Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
² Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
² ......
AJAX¼¼ÊõËùÌᳫµÄÎÞˢлص÷£¬ÔÚÔÀ´µÄ¼¼ÊõÖÐÐèҪд´óÁ¿µÄJavaScript´úÂë»òʹÓÃһЩAJAX¿ò¼Ü£¬Ê¹µÃ¿ª·¢Ð§ÂʺͿÉά»¤ÐÔ´ó´ó½µµÍ¡£ÆäʵASP.NET2.0ÖУ¬ÒѾÌṩÁËÕâÑùµÄ½Ó¿Ú£¬Õâ¾ÍÊÇICallbackEventHandler¡£
ICallbackEventHandler´æÔÚÓÚSystem.Web.UIÖУ¬ÎÒÃÇÏÈ×öÒ»¸ö·Ç³£¼òµ¥µÄÀý×ÓÀ´ÊÔÓÃһϡ£
¡¡¡¡ µÚÒ»²½£¬ÔÚVS2005Öн¨ ......
ÉúÃüÖÜÆÚ²½Öè¸ÅÀÀ
µ±ÎÒÃǶÔASP.NET MVCÍøÕ¾·¢³öÒ»¸öÇëÇóµÄʱºò£¬»á·¢Éú5¸öÖ÷Òª²½Ö裺
²½Öè1£º´´½¨RouteTable
µ±ASP.NETÓ¦ÓóÌÐòµÚÒ»´ÎÆô¶¯µÄʱºò²Å»á·¢ÉúµÚÒ»²½¡£RouteTable°ÑURLÓ³Éäµ½Handler¡£
²½Öè2£ºUrlRoutingModuleÀ¹½ØÇëÇó
µÚ¶þ²½ÔÚÎÒÃÇ·¢ÆðÇëÇóµÄʱºò·¢Éú¡£UrlRoutingModuleÀ¹½ØÁËÿһ¸öÇëÇó²¢ÇÒ´´½¨ºÍÖ´ÐкÏÊ ......