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

Asp.net DataListǶÌ×DataListµÄʵÏÖ


Asp.net DataListǶÌ×DataListµÄʵÏÖ
[ 2006-05-31 01:26:24 | ×÷Õß: Admin ]
×ÖÌå´óС: ´ó | ÖÐ | С
Êý¾Ý·þÎñ¿Ø¼þµÄǶÌ××îÖ÷ÒªµÄÊÇÊÇÄÚ²ã¿Ø¼þÊý¾ÝµÄ¼ÓÔØºÍʼþµÄ´¥·¢¡£ DataListǶÌ×µÄÖØµãÊÇÒªÔÚÍâ²ãDataListµÄItemDataBoundʼþÖÐÓÃe.Item.FindControl·½·¨À´ÕÒµ½Ç¶ÌײãDataListµÄid,±àдǶÌײãDataListµÄ°ó¶¨Êý¾ÝԴʼþ¡£ÏÂÃæÒÔÁ½²ãDataListΪÀý½éÉÜÏÂʵÏֵĹý³Ì¡£Ð§¹ûÈçÏÂͼ£º
---------ǰ̨html´úÂë-------
<asp:datalist id="dlFileType" RepeatColumns="2" runat="server">
<ItemTemplate>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="88" align="center" valign="top">
<img src='<%#DataBinder.Eval(Container.DataItem, "cnvcPicURL")%>' width="80" height="80">
</td>
<td valign="top">
<table width="96%" border="0" cellpadding="0" cellspacing="0">
<tr width="100%">
<td colspan="2"><img src='<%#PageBase.strStyleRoot+"/picture/pic_fwzn_08.gif"%>' height="20"><%#DataBinder.Eval(Container.DataItem, "cnvcTitle")%>
<asp:Label id="labFileType" runat="server" Visible=False Text='<%# DataBinder.Eval(Container.DataItem,"cniFileTypeID")%>'>
</asp:Label></td>
</tr>
<tr>
<td width="300">
<asp:DataList id="dlFileList" runat="server" RepeatColumns="1" Width="100%">
<ItemTemplate>
<TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">
<tr>
<td width="7%" height="20" align="center">
<img src='<%#PageBase.strStyleRoot+"/picture/pic_fwzn_dot.gif"%>' width="3" height="3"></td>
<td width="93%">
<font color="#393939">
<%#GetTitle((string)Convert.ToString(DataBinder.Eval(Container.DataItem, "cnvcTitle")),(string)Convert.ToString(DataBinder.Eval(Container.DataItem, "cnvcFileType")),(string)Convert.ToString(DataBinder.Eval(Container.DataItem, "cniBaseFileID")),(DateTime)DataBinder.Eval(Container.DataItem, "cndtPublishTime"))%>
</font>
</td>
</


Ïà¹ØÎĵµ£º

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 ......

CKEditorºÍCKFinderÔÚASP.NETÖеÄÓ¦ÓÃ

½éÉÜ
CKEditorÊÇÐÂÒ»´úµÄFCKeditor£¬ÊÇÒ»¸öÖØÐ¿ª·¢µÄ°æ±¾¡£CKEditorÊÇÈ«Çò×îÓÅÐãµÄÍøÒ³ÔÚÏßÎÄ×ֱ༭Æ÷Ö®Ò»£¬ÒòÆä¾ªÈ˵ÄÐÔÄÜÓë¿ÉÀ©Õ¹ÐÔ¶ø¹ã·ºµÄ±»ÔËÓÃÓÚ¸÷´óÍøÕ¾¡£¶øCKFinderÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄajaxÎļþ¹ÜÀíÆ÷¡£Æä¼òµ¥µÄÓû§½çÃæÊ¹µÃ¸÷ÀàÓû§£¬²»¹ÜÊǴӸ߼¶×¨ÒµÈ˲ţ¬»¹ÊÇ»¥ÁªÍø³õѧÕߣ¬¶¼¹»Ö±¹Û¡¢¿ìËÙѧϰµÄѧϰʹÓÃËü¡£
& ......

ÓÃjson¸ñʽ·µ»Ø×Ô¶¨Òå¶ÔÏó¡££¨jQuery asp.net£©

¿Í»§¶ËÓÃÒ»¸öhtmlÒ³Ãæµ÷ÓÃÒ»¸öashxÎļþ£¨Ò»°ãhttp´¦Àí³ÌÐò£©£¬·µ»Øjson¸ñʽµÄ×Ô¶¨Òå¶ÔÏó£º
html:--------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w ......

ASP.NET ʼþ˳Ðò

1.Init£¨³õʼ»¯½×¶Î£©
2.LoadViewState£¨ÔØÈëÊÓͼ״̬£©
3.LoadPostData£¨´¦Àí»Ø·¢Êý¾Ý£©
    public   virtual   bool   LoadPostData(string   postDataKey,   NameValueCollection   postCollection)
     ÅжÏÊÓÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ