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

ASP.NET ¶ÁÈ¡TXTÎĵµµÄÖµ - .NET¼¼Êõ / ASP.NET

RT ÎÒÏÖÔÚÒªÅúÁ¿µÄÍùÊý¾Ý¿âÌí¼ÓÊý¾Ý£¬Êý¾ÝÊÇ´Ó±ðµÄÍøÕ¾Éϸ´ÖÆÏÂÀ´µÄ£¬ÏëÓÃTXTÎĵµ£¬Çó½âÔõôÓÃ.NET¶ÁÈ¡TXTÎĵµ
»ù±¾µÄio²Ù×÷

ÄÜÌùÏ´úÂëÂð£¬


string ss = File.ReadAllText("D:\\1.txt");

£©´´½¨txtÎļþ¡¾web.config¡¿
  --------------------------------------------------------------------
<appSettings>
  <add key="EditChars" value="D:\Site\ZJPS\TextFile\EditChars.txt"/>
</appSettings>


2) Ò³ÃæµÄCSÎļþÖУº
  --------------------------------------------------------------------
¡¾1¡¿ »ñÈ¡txtÎļþλÖ㺠protected string FileName = System.Configuration.ConfigurationManager.AppSettings["EditChars"].ToString();
  ¡¾2¡¿ Îļþ²Ù×÷£º´´½¨¡¢Ð´¡¢¶Á Îļþ¡£
  #region Îļþ²Ù×÷
  /// <summary>
  /// ´´½¨txtÎļþ
  /// </summary>
  public void CreateToFile()
  {
  StreamWriter SW;
  SW = File.CreateText(FileName);
  SW.Close();
  }
  /// <summary>
  /// дÎļþ
  /// </summary>
  public void WriteToFile()
  {
  string InsertStr = "";
  if (!File.Exists(FileName))
  {
 


Ïà¹ØÎÊ´ð£º

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

js¿ØÖÆasp¿Õ¼ädropdownlist - .NET¼¼Êõ / ASP.NET

ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ­°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......

aspÍøÕ¾°²È«ÎÊÌâ - Web ¿ª·¢ / ASP

¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡
ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º
sql×¢Èë©¶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´
³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿
×¢Èë©¶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹
±©¿â©¶´Ôõô·ÀÖ¹
»¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif
ÕâÖÖ©¶´Ôõôȥ± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ