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

asp.netµ÷ÓÃbatÎļþ

ÒýÓÃÃüÃû¿Õ¼ä
using System.Diagnostics;
                string sPath = "d:\\test\\test.bat";
string sDict = "d:\\test\\";
ProcessStartInfo psi = new ProcessStartInfo("cmd.exe");
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
psi.RedirectStandardInput = true;
psi.RedirectStandardError = true;
psi.Arguments = sPath;
psi.WorkingDirectory = sDict;
// Start the process
System.Diagnostics.Process proc = System.Diagnostics.Process.Start(psi);
// Attach the output for reading
System.IO.StreamReader sOut = proc.StandardOutput;
proc.Close();
// Read the sOut to a string.
string results = sOut.ReadToEnd().Trim();
sOut.Close();
// Write out the results.
string fmtStdOut = "<font face=courier size=0>{0}</font>";
this.Response.Write(String.Format(fmtStdOut, results.Replace(System.Environment.NewLine, "<br />")));


Ïà¹ØÎĵµ£º

asp.netÓ¦Óý¡¿µ×´¿ö¼àÊÓ

½¡¿µ×´¿ö¼àÊӵij£ÓÃÊõÓ
ÇëÇó
ÏìÓ¦
ÐéÄâÓû§£ºÄ£Äâä¯ÀÀÆ÷ÏòWeb·þÎñÆ÷·¢ËÍÇëÇó²¢½ÓÊÕÏìÓ¦µÄÒ»¸ö½ø³Ì»òÏ̡߳£
ÏìӦʱ¼ä£ºä¯ÀÀÆ÷ÏòWeb·þÎñÆ÷Ìá½»Ò»¸öÇëÇóµ½ÊÕµ½ÏìÓ¦Ö®¼äµÄ¼ä¸ôʱ¼ä¡£
˼¿¼Ê±¼ä£ºä¯ÀÀÆ÷ÔÚÊÕµ½ÏìÓ¦ºóµ½Ìá½»ÏÂ
Ò»¸öÇëÇóÖ®¼äµÄ¼ä¸ôʱ¼ä¡£
ÇëÇó³É¹¦ÂÊ£ºWeb·þÎñÆ÷ÕýÈ·´¦ÀíµÄÇëÇóÊýÁ¿ºÍ½ÓÊÕµ½µÄÇëÇóÊýÁ¿µÄ±È¡ ......

asp.net¿Ø¼þµÄ±éÀú

foreach(Control   con   in   this.Controls[1].Controls)  
  {  
  if(con   is   TextBox)  
  {  
  ((TextBox)con).Text="";  
  }  
  }//Õâ¶Î´úÂëÖ´Ðгɹ¦£¬µ«ÎÒ²»Ã÷°×ÕâÀïµÄ1´úÂëʲô£¿  
  µ«ÊÇ» ......

asp.netÎÊÌ⣬Çë½Ì£¬¼±£¡£¡£¡

asp.net  »ùÓÚvb¡£net±à³ÌÓïÑÔ   sqlÊý¾Ý¿â
±í1                                         ......

asp.netÖÐÈÝÒ×»ìÏýµÄajax¸ÅÄî


AJAXÊÇAsynchronous JavaScript and XMLËõд¡£Õâ¸ö¸ÅÄî´ú±íµÄÊÇÒ»ÖÖ¼¼Êõ£¬µ±ÄúÔÚ˵“ÎÒÔÚÏîÄ¿ÖÐʹÓÃÁËAJAX¼¼Êõʱ”£¬Ö»ÊÇ´ú±íÁËÄúʹÓÿͻ§¶ËXMLHttpRequest¶ÔÏóÓë·þÎñÆ÷¶Ë½øÐÐÒ첽ͨÐÅ¡£²»¹ýÒòÎªËæ×ÅAJAX¼¼ÊõµÄÔËÓÃÍùÍù»á´øÀ´·á¸»µÄ¿Í»§¶ËЧ¹û£¬Òò´Ë¶ÔAJAX¼¼ÊõµÄ¹ãÒåÀí½âÒ²¿ÉÒÔÈÏΪÕâÊÇÒ»ÖÖ²Ù×÷ ......

FckeditorÅäÖù¥ÂÔ asp.net°æ

ÍøÂçÎı¾±à¼­Æ÷----Fckeditor֮ʹÓÃÆª
1.ÏÂÔØFckeditor£¬asp.net°æ·ÖÁ½²¿·Ö£¬FCKeditorºÍFCKeditor.Net: ASP.Net Control¡£
¹Ù·½ÍøÕ¾£ºhttp://ckeditor.com/download
2.FckeditorÔÚÏîÄ¿Öеɡ£
  ºÜ¼òµ¥£¬²»ÔÙ׸Êö¡£
²Î¿¼ÎÄÏ×£ºhttp://www.cnblogs.com/zhubo/archive/2008/10/21/using_fckeditor_net.html
³£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ