Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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Öг£ÓõÄ26¸öÓÅ»¯ÐÔÄܵķ½·¨


1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯¡¡
¡¡
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±ÕÊ ......

ASP.NETÖÐRepeaterµÄǶÌס¢DetailsViewµÄʹÓÃСÀý×Ó

aspxÒ³Ãæ´úÂ룺
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ENRepeater.aspx.cs" Inherits="ENRepeater" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" & ......

asp.net ´òÓ¡ReportViewer±¨±í rdlc±¨±í

net 2.0ÖеÄпؼþReportViewer¿ÉÒÔ·½±ãµÄÖÆ×÷²¢ÏÔʾ±¨±í£¬µ«ÊÇËüûÓÐÖ±½ÓÖ§³ÖÔÚÍøÒ³ÖеĴòÓ¡¡£ÎÒÔÚ·ÖÎöÍøÒ³HTMLÔ´´úÂëµÄ»ù´¡ÉÏÕÒµ½ÁËÖ±½Ó´òÓ¡µÄ¾÷ÇÏ£¬ÏÈ×ö³ÉÒ»¸öº¯Êý£¬·½±ãÖ±½ÓʹÓá£
    1.°üº¬ReportViewer±¨±íµÄÍøÒ³µÄ×îÖÕÐÎʽHTML DOM½á¹¹ÖУ¬±¨±í±»·Åµ½Ò»¸ö<iframe>ÖУ¬ÆäidÃüÃû·½Ê½Îª£º ......

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

Asp.Netǰ̨µ÷Óúǫ́±äÁ¿
asp.net   2009-07-11 07:27   ÔĶÁ220   ÆÀÂÛ0  
×ֺţº ´ó´ó  ÖÐÖР СС
1.Asp.NetÖм¸ÖÖÏàËƵıê¼Ç·ûºÅ: < %=...%>< %#... %>< % %>< %@ %>½âÊͼ°Ó÷¨
´ð: < %#... %>: ÊÇÔڰ󶨿ؼþDataBind()·½·¨Ö´Ð ......

Asp.net¼¼ÇÉ£ºgridview»ñÈ¡µ±Ç°ÐÐË÷ÒýµÄ·½·¨

ÔÚÓÃGridView¿Ø¼þʱ£¬ÎÒÃǾ­³£»áÅöµ½»ñÈ¡µ±Ç°ÐеÄË÷Òý£¬Í¨¹ýË÷Òý½øÐÐÐí¶à²Ù×÷¡£ÀýÈ磬¿ÉÒÔ»ñµÃµ±Ç°ÐÐijһ¸ö¿Ø¼þÔªËØ£»ÉèÖÃijһԪËصÄÖµµÈµÈ¡£
ÏÂÃæ½áºÏʵÀý½éÉܼ¸ÖÖ»ñµÃGridViewµ±Ç°ÐÐË÷ÒýÖµµÄ·½·¨¡£
ʵÀý£º
¢Ù Ä¿µÄ£º»ñÈ¡GridViewÖÐRowCommandµÄµ±Ç°Ë÷ÒýÐС£
¢Ú ǰ̨ҳÃ棺ÔÚGridViewÖÐÌí¼Óһģ°æÁУ¬ÀïÃæÌí¼ÓÒ»¸öLink ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ