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

asp.netÀïµ¼³öexcel±í»òWordµÄ·½·¨

¶ÔÓÚ´óÁ¿µÄÊý¾Ý£¬ÓÐʱºòµ¼³öµ½ExcelÖн«¸ü¼Ó·½±ã½øÐÐÊý¾Ýͳ¼Æ·ÖÎö£¬¶ø¶ÔÓÚÅŰæ´òÓ¡Ôòµ¼³öµ½WorldÎĵµÖиü¼Ó·½±ã¡£ÔÚASP.NET¿ÉÒÔͨ¹ýÉÙÁ¿´úÂëʵÏÖÕâÁ½ÖÖµ¼³ö¡£
        н¨Ò»Ò³Ã棬¸ÃÒ³Ãæ²¼¾ÖHtmlÔ´ÂëÈçÏ£º
<form id="form1" runat="server"><div>
        <asp:Button ID="cmdOpen" runat="server" Text="ÔÚÏß´ò¿ª" CommandName="open"
OnCommand="Button_Click" />&nbsp;<asp:Button ID="cmdSave"
            runat="server" Text="±¾µØ±£´æ" CommandName="save"
OnCommand="Button_Click" />
        <asp:DropDownList ID="listType" runat="server">
            <asp:ListItem Value="excel">Excel</asp:ListItem>
            <asp:ListItem Value="word">Word</asp:ListItem>
        </asp:DropDownList><br />
        <br />
        Êý¾ÝÔ´£º<br />
        <br />
        <asp:GridView ID="myGW" runat="server">
        </asp:GridView>
    </div></form>
       ÕâÀïûÓÐÊ²Ã´ÌØ±ðµÄ£¬Ö»ÐèҪעÒâÔÚÏß´ò¿ªÓë±¾µØ±£´æÁ½¸ö°´Å¥Í¨¹ýCommandName½øÐмìÑé²¢´¥·¢ÏàÓ¦µÄ¶¯×÷
£¬DropDownList¿Ø¼þ´æ·ÅÁË¿ÉÒÔµ¼³öµÄ¸ñʽ£¬¿ÉÒÔ×Ô¼ºÌí¼ÓÈçtxt¡¢htmlµÈ¸ñʽ¡£×¼±¸¹¤×÷¾ÍÐ÷ÒԺ󣬿ÉÒÔ½øÐдúÂëµÄÊéд£¬ÒÔÍê³ÉÎÒÃÇÐèÒªµÄ¹¦ÄÜ£º
    protected void Page_Load(object sender, EventArgs e)
    {
&


Ïà¹ØÎĵµ£º

Asp.Net¹¹¼Ü(HttpÇëÇó´¦ÀíÁ÷³Ì) Part.1

Asp.Net¹¹¼Ü(HttpÇëÇó´¦ÀíÁ÷³Ì) - Part.1
ÒýÑÔ
ÎÒ²éÔĹý²»ÉÙAsp.NetµÄÊé¼®£¬·¢ÏÖ´ó¶àÊý×÷Õß¶¼ÊÇÕ¾ÔÚÒ»¸ö±È½Ï¸ßµÄ²ã´ÎÉϽ²½âAsp.Net¡£ËûÃÇÄÍÐÄ¡¢Ï¸ÖµظæËßÄãÈçºÎÒ»²½²½ÍϷſؼþ¡¢ÉèÖÿؼþÊôÐÔ¡¢±àдCodeBehind´úÂ룬ÒÔʵÏÖij¸öÌØ¶¨µÄ¹¦ÄÜ¡£
ÕâÖÖ×ö·¨£¬Êµ¼ÊÉÏÊǻشðÁË“ÈçºÎÈ¥×ö”µÄÎÊÌ⣬ȴûÓлشð“ÎªÊ ......

asp.netÈ¡Îļþ¼ÐÖÐËùÓÐÎļþÃû

string[] files = Directory.GetDirectories(Server.MapPath("Themes/"));
ÏÈÉùÃ÷ÁËÒ»¸ö×Ö·ûÊý×飬mapPath·½·¨µÃµ½µÄÊÇÒ»¸ö¾ø¶Ô·¾¶¡£
ÒòΪGetFiles·µ»ØµÄÊÇÒ»¸östring[]Êý×飬ËùÒÔÓà filesÀ´½ÓÊÕËü¡£
È»ºóÎÒÃÇÔÚÓÃÒ»¸öforeachÑ­»·À´±éÀúÕâ¸öÊý×飬ȡ³öËùÓÐÖµ¡£
foreach (string file in files)
{
Response.W ......

asp.net³£ÓüÓÃܽâÃÜ·½·¨

Ò»¡¢Êý¾Ý¼ÓÃÜ/±àÂëËã·¨Áбí
³£¼ûÓÃÓÚ±£Ö¤°²È«µÄ¼ÓÃÜ»ò±àÂëËã·¨ÈçÏ£º
1¡¢³£ÓÃÃÜÔ¿Ëã·¨
ÃÜÔ¿Ëã·¨ÓÃÀ´¶ÔÃô¸ÐÊý¾Ý¡¢ÕªÒª¡¢Ç©ÃûµÈÐÅÏ¢½øÐмÓÃÜ£¬³£ÓõÄÃÜÔ¿Ëã·¨°üÀ¨£º
DES£¨Data Encryption Standard£©£ºÊý¾Ý¼ÓÃܱê×¼£¬ËٶȽϿ죬ÊÊÓÃÓÚ¼ÓÃÜ´óÁ¿Êý¾ÝµÄ³¡ºÏ£»
3DES£¨Triple DES£©£ºÊÇ»ùÓÚDES£¬¶ÔÒ»¿éÊý¾ÝÓÃÈý¸ö²»Í¬µÄÃÜÔ¿½ ......

ASP.NET Events

Here is the full list of all events that occur in an ASP.NET application, from the standard modules, to the page, master page, page controls and master page controls.
I have not included the IIS 7 specific events (Log, for example).
What
When
HttpApplication.BeginRequest
HttpApplication.Auth ......

Cascading DropDownLists With ASP.NET and jQuery


Cascading drop down lists is a really nice feature for web developers. I thought it was time to write an article on how to do this using ASP.NET and jQuery. Well here’s one way of doing it. Before we get started, this example uses the latest version of jQuery which is 1.3.2.&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ