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

ASP.NETÊý¾Ý°ó¶¨_µÚËÄÆª_ÓÃSqlDataSource¿Ø¼þ°ó¶¨_01

+++ Ò³Ãæ´úÂëÈçÏ£º
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
    AutoGenerateColumns="False" DataKeyNames="username" DataSourceID="SqlDataSource1"
    PageSize="3">
    <Columns>
        <asp:BoundField DataField="username" HeaderText="Óû§Ãû" SortExpression="username" ReadOnly="true" />
        <asp:BoundField DataField="userpwd" HeaderText="ÃÜÂë" SortExpression="userpwd" />
        <asp:CommandField ShowEditButton="True"/>
        <asp:CommandField ShowDeleteButton="True"/>
    </Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="Data Source=ora9;User ID=scott;Password=tiger;Persist Security Info=True"
    ProviderName="System.Data.OracleClient"
    SelectCommand="SELECT USERNAME, USERPWD from USERS"
    UpdateCommand="UPDATE USERS SET USERPWD =:userpwd where USERNAME = :username"
    DeleteCommand="DELETE from USERS where USERNAME =:username">
    <UpdateParameters>
        <asp:ControlParameter ControlID="GridView1" DefaultValue="username" Name="username"
            PropertyName="SelectedValue" />
        <asp:ControlParameter ControlID="GridView1" DefaultValue="userpwd" Name="userpwd"
            PropertyName="SelectedValue" />
    </UpdateParameters>
    <DeleteParameters>
        <asp:ControlParameter ControlID="GridView1" Default


Ïà¹ØÎĵµ£º

Eval°ó¶¨¶à¸ö×Ö¶ÎÎÊÌâasp.net

'<%#Eval("djid").ToString()+Eval("djid1").ToString()+… %>'ÕâÖÖÐÎʽ¾ÍÐÐ
°ÑEval("").ToString()µ±³ÉÒ»¸öÆÕͨ×Ö·û´®£¬¶ø'<%# %>'±£Áô¾ÍÐУ¬Ôõô´¦Àí¶¼¿ÉÒÔ£¬ËùÓÐ×Ö·û´®µÄ²Ù×÷¶¼ÓÐЧ£¬»¹¿ÉÒÔÓþ²Ì¬º¯ÊýÀ´´¦ÀíÕâЩ×Ö·û´®¡£ ......

ÈçºÎÔÚASP.NETÒ³ÃæÖÐ×Ô¶¯Éú³É²¢ÏÔʾ͸Ã÷µÄGIFͼƬ

ÔÚÒ³ÃæÖмÓÈëÒ»¸öͼƬ¿Ø¼þ£¬²¢½«ËüµÄStyleÊôÐÔÉèΪ£ºFILTER: chroma(color:#000000) £¬Ô­ÒòÊÇ×Ô¶¯Éú³ÉµÄGIFͼƬ×ÜÊǺÚÉ«±³¾°¡£È»ºóÔÚºǫ́´úÂëÖÐдÈëÈçÏ´úÂë¡£(¼ûDEMO)
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using Sy ......

ASP.NET WebService ³ÌÐòÖ´ÐÐȨÏÞÎÊÌâ½â¾ö

дÁËÒ»¸ö´´½¨ÐéÄâĿ¼µÄ WebService ³ÌÐò£¬ÔÚ²âÊÔÔËÐÐʱ¿ÉÒԳɹ¦´´½¨£¬µ«ÆäËü³ÌÐòµ÷ÓÃʱ£¬ÌáʾûÓÐȨÏÞ´´½¨¡£
²éÁËһЩ×ÊÁÏ£¬ÔÚweb.configÀïÃæµÄ<system.web>ºó¼ÓÉÏÅäÖãº
    <identity impersonate="true" userName="²Ù×÷ϵͳÓû§Ãû" password="Óû§¶ÔÓ¦µÄÃÜÂë" />
ÎÊÌâ½â¾ö¡£Ìش˼Ǽ£¬È¨ ......

ASP.NETÖжÁÈ¡excelÄÚÈÝ,²¢ÏÔʾÔÚ½çÃæÉÏ

ÏîÄ¿Öо­³£»áÓõ½°ÑexcelµÄÎļþÄÚÈݵ¼Èëµ½Êý¾Ý¿âÖеÄ,¸Õ¸Õ»¨Á˵ãʱ¼ä,×öÁ˸öÀý×Ó,»ù±¾ÉÏÄÜʵÏÖµ¼ÈëExcelºóÏÔʾµÄ¹¦ÄܰÉ,µ¼ÈëµÄexcelÎļþµÃÊÇxls,¼´ÊÇ2003µÄ.
    ´úÂë˼·ÈçÏÂ:Òª¶ÁÈ¡µÄexcelÎļþ±ØµÃµÃÊÇÔÚ±¾µØÓ²ÅÌ,ËùÒÔÒ»°ãÀ´Ëµ¶¼ÊÇÈÃÔ¶³ÌÓû§Ñ¡Ôñ×Ô¼ºÓ²ÅÌÉϵÄExcelÎļþ,È»ºó°ÑÓû§Ñ¡ÔñµÄÎļþÉÏ´«µ½±¾µØ· ......

ASP.NET Cache_µÚÈýƪ_ÈçºÎ´Ó»º´æÖмìË÷»º´æÏî

+++ ¹æ¶¨»º´æÏîµÄ¼üÖµ¾Í¿ÉÒÔ´Ó»º´æÖмìË÷»º´æÏîµÄÊý¾Ý¡£È»¶ø£¬ÒòΪ±£´æÔÚ»º´æÖеÄÊý¾ÝÊDz»Îȶ¨µÄ£¬¿ÉÄܻᱻASP.NETÒÆ³ý£¬ËùÒÔ£¬ÍƼöµÄ¿ª·¢·½Ê½ÎªÓ¦¸ÃÏÈÈ·¶¨»º´æÏîÊÇ·ñ´æÔÚ£¬Èç¹û²»´æÔÚ£¬Ó¦¸ÃÏÈÌí¼Ó¸Ã»º´æÏîµ½»º´æ£¬È»ºóÔÙ¼ìË÷¸Ã»º´æÏî¡£
+++ ¼ìË÷»º´æÏî
ÏÂÃæµÄÀý×ÓÑÝʾ£¬È·¶¨ÃûΪ“CacheItem”µÄ»º´æÏîÊÇ·ñ´æÔÚ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ