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

asp.net ²¿ÊðÊý¾Ý¿â¡¢¿ªÊ¼²Ëµ¥¡¢×ÀÃæ¿ì½Ý·½Ê½ÊµÀý


//²¿Êð×ÀÃæ¿ì½Ý·½Ê½*******************#region//²¿Êð×ÀÃæ¿ì½Ý·½Ê½*******************
     StreamWriter sw2=System.IO.File.CreateText(Context.Parameters["des"].ToString()+"WebSetupTest.url");
     stateSaver.Add("DeskQuick",Context.Parameters["des"].ToString()+"WebSetupTest.url"); //±£´æ×ÀÃæ¿ì½ë·½Ê½Îļþ¾ø¶ÔµØÖ·
     //Context.Parameters["des"].ToString()ÊǶÔÓ¦µÄ×ÀÃæµØÖ·
     string webdirs=Context.Parameters["webdir"].ToString();
     //Context.Parameters["webdir"].ToString()¶ÔÓ¦µÄ·¾¶,ÔÚ°²×°ÏîÄ¿ÀïÃæ×÷Ϊ²ÎÊý´«Èë
     string webdirsNew = webdirs.Substring(0,webdirs.Length-1);
     webdirs = webdirsNew.Substring(webdirsNew.LastIndexOf(@"\")+1);
     string Urls=@"URL=http://localhost/"+webdirs+@"/index.aspx";
     sw2.WriteLine("[InternetShortcut]");
     sw2.WriteLine(Urls);
     sw2.WriteLine("modified=228928983");
     sw2.WriteLine("IconIndex=0");
     //sw2.WriteLine("IconFile="+webdirsNew+"\\Resources\\usa_folder_dialup.ico");
     sw2.WriteLine("IconFile="+webdirsNew+"\\images\\usa_folder_dialup.ico");
     sw2.Flush();
     sw2.Close();
     #endregion
     ²¿Êð¿ªÊ¼²Ëµ¥ ***************#region ²¿Êð¿ªÊ¼²Ëµ¥ ***************
     string startMenue=Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
     if(File.Exists(startMenue+"\\WebSetupTest.url"))
     {
      if(MessageBox.Show("¿ªÊ¼²Ëµ¥ÒѾ­´æÔÚ,ÊÇ·ñÓи²¸ÇËü?","°²×°¿ªÊ¼²Ëµ¥",MessageBoxButtons.YesNo,MessageBoxIcon.Question,
       MessageBoxDefaultButton.Button1) == DialogResult.Yes)
    &n


Ïà¹ØÎĵµ£º

asp.netÄ£°åÁÐ Command ÃüÁî Ó¦ÓÃSelectedRowStyle

ÔÚgridviewÖÐ
 <asp:GridView ID="GridView1"   runat="server" AutoGenerateColumns="False">
 <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<asp:TemplateField HeaderText="Remove">
        &nbs ......

ÔÚ ASP.NET MVC ÏîÄ¿ÖÐʹÓà WebForm

ASP.NET MVCºÍWebForm¸÷Óи÷µÄÓŵ㣬ÎÒÃÇ¿ÉÄÜÐèҪͬʱʹÓÃASP.NET MVCºÍWebForm¡£±¾ÎĽéÉÜÁËÈçºÎÔÚASP.NET MVCÏîÄ¿ÖÐʹÓÃWebForm¡£
Ê×ÏÈн¨Ò»¸öÃûΪWebFormsµÄÎļþ¼ÐÓÃÓÚ´æ·ÅWebForm£¬²¢Ìí¼ÓÒ»¸öWeb´°ÌåÎļþDemo.aspx×÷ΪÑÝʾ¡£
Demo.aspx¾Í¼òµ¥µÄÊä³öÒ»¾ä»°“It’s a WebForm.”
¹Ø¼ü²½ÖèÔÚÓÚ·ÓÉÉèÖá ......

ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿


ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿
http://www.infoq.com/cn/news/2009/09/aspnet-php-benchmark
×÷Õß ÕÔ劼 ·¢²¼ÓÚ 2009Äê9ÔÂ15ÈÕ ÉÏÎç5ʱ33·Ö
ÉçÇø .NET Ö÷Ìâ ÐÔÄܺͿÉÉìËõÐÔ ±êÇ© PHP, ASP.NET
½áÂÛ£º
ÎÒÃÇ¿ÉÒÔÕâôÈÏΪ£¬¶ÔÓÚ´¿´âµÄPHPÖ´ÐÐÐÔÄÜÀ´Ëµ£¬LinuxºÍWindowsÏà²î ......

ASP.NETʵÏÖURLÖØд

ʹÓÃURLÖØд¿ÉÒÔʵÏÖÓÃhttp://www.mzwu.com/d100.aspxÀàËƵĵØÖ·À´·ÃÎÊhttp://www.mzwu.com
/default.aspx?id=100£¬ÕâÑùµÄºÃ´¦·Ç³£¶à£ºÒ»ÊÇÒþ²ØÁËÕæʵ·¾¶£¬Ìá¸ßÓ¦ÓóÌÐòµÄ°²È«ÐÔ£»¶þÊÇÓÐÀûÓÚËÑË÷ÒýÇæÊÕ¼£»ÈýÊDZãÓÚ¼ÇÒ䡣ϱß
ÎÒÃÇÀ´¿´¿´ÔÚASP.NETÖÐÔõôʵÏÖURLÖØд¡£
1.ÏÂÔØURLRewriter.dll
·Åµ½BinÎļþ¼ÐÖС£
2.Web ......

Asp.Netǰ̨µ÷Óúǫ́±äÁ¿

Asp.Netǰ̨µ÷Óúǫ́±äÁ¿
asp.net   2009-07-11 07:27   ÔĶÁ220   ÆÀÂÛ0  
×ֺţº ´ó´ó  ÖÐÖР СС
1.Asp.NetÖм¸ÖÖÏàËƵıê¼Ç·ûºÅ: < %=...%>< %#... %>< % %>< %@ %>½âÊͼ°Ó÷¨
´ð: < %#... %>: ÊÇÔڰ󶨿ؼþDataBind()·½·¨Ö´Ð ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ