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

ASP.NET ±àÒëºÍ²¿Êð

ÏîÄ¿ºÍÍøÕ¾µÄÇø±ð
ÏîÄ¿±àÒë³Édll£¬ÍøÕ¾Í¨¹ý“·¢²¼ÍøÕ¾”À´²¿Êð
²¿ÊðÄ¿µÄµØ£º/binĿ¼ÏÂ
7¸ö¶¥¼¶Ä¿Â¼¼°Æä±àÒëÇé¿ö
ÈýÖÖ²¿Êð·½Ê½¼°Æä³ÌÐò¼¯Éú³ÉÇé¿ö  £¨³ÌÐò¼¯Ó°×Ó¿½±´£©
¶¨ÖƳÌÐò¼¯Éú³É£º
<compilation>
<codeSubDirectories>
<add directoryName="vb_components"/>
<add directoryName="cs_components"/>
<add directoryName="wsdl-files"/>
<add directoryName="xsd-files"/>
</codeSubDirectories>
</compilation>
ÀûÓÃApp_CodeĿ¼ ²¿Êð×Ô¶¨ÒåÊý¾ÝÔ´Àà µÄÓ¦ÓÃʾÀý
Êý¾ÝÔ´Àࣺ
namespace EssentialAspDotNet.Architecture
{
public static class MyDataSource
{
static string[] _items =
{"Item #1", "Item #2", "Item #3", "Item #4",
"Item #5", "Item #6", "Item #7", "Item #8",
"Item #9", "Item #10"};
public static string[] GetItems()
{
return _items;
}
}
}
ǰ̨ҳ£º
<body>
<form runat="server" id="_form">
<h1>Test ASP.NET 2.0 Page with declarative data binding</h1>

<asp:BulletedList runat="server" ID="_displayItems"
DataSourceID="_itemsDataSource">
<asp:ListItem>Sample item 1</asp:ListItem>
<asp:ListItem>Sample item 2 ...</asp:ListItem>
</asp:BulletedList>

<h2 runat="server" id="_messageH2">Total number of items = xx</h2>

<asp:ObjectDataSource runat="server" ID="_itemsDataSource"
TypeName="EssentialAspDotNet.Architecture.MyDataSource"
SelectMethod="GetItems" />
</form>
</body>


Ïà¹ØÎĵµ£º

ASP.NET Mischellous

@Register : Register a user control or class with alias to this page.
@Import: Import a namespace.
@Reference: Link user controls or other page to complile current page. Ö§³ÖÊý¾Ý¿çÒ³ÃæµÄ´«ËÍ
Ò³ÃæÊ¼þ£ºPreInit(´´½¨·þÎñÆ÷¿Ø¼þ), Init(³õʼ»¯·þÎñÆ÷¿Ø¼þµÄ״̬), InitComplete,PreLoad, Load, Lo ......

ASP.NetÖÐ×Ô¶¨ÒåHttp´¦Àí¼°Ó¦ÓÃÖ®HttpModuleƪ

HttpHandlerʵÏÖÁËÀàËÆÓÚISAPI ExtentionµÄ¹¦ÄÜ£¬Ëû´¦ÀíÇëÇó(Request)µÄÐÅÏ¢ºÍ·¢ËÍÏìÓ¦(Response)¡£HttpHandler¹¦ÄܵÄʵÏÖͨ¹ýʵÏÖIHttpHandler½Ó¿ÚÀ´´ïµ½¡£¶øHttpModuleʵÏÖÁËÀàËÆÓÚISAPI FilterµÄ¹¦ÄÜ¡£
HttpModuleµÄʵÏÖ
HttpModulesʵÏÖÁËÀàËÆÓÚISAPI FilterµÄ¹¦ÄÜ£¬ÔÚ¿ª·¢ÉÏ£¬Í¨³£ÐèÒª¾­¹ýÒÔϲ½Ö裺
±àдһ¸öÀà£¬Ê ......

asp.net »ñÈ¡html¿Ø¼þµÄÖµµÄ´úÂë

asp.net »ñÈ¡html¿Ø¼þµÄÖµµÄ´úÂëÈçÏ£º
WebForm1.aspx£º
   < INPUT ID="TXT"  TYPE="TEXT" RUNAT="SERVER" VALUE="AAAAAA">  
    < INPUT TYPE="BUTTON" RUNAT="SERVER" VALUE="BTNTEST"  ID="BUTTON1"&nb ......

ASP.NET 2.0¸öÐÔ»¯ÅäÖã¨profile£©

Ϊÿ¸öÓû§´æ´¢ÅäÖÃÐÅÏ¢ ÒÔǰ±£´æÓû§ÅäÖÃÐÅϢʱÓõ½µÄÊÇsessionºÍcookie¡£ session»á»°½áÊø£¬±£´æµÄ¸öÈËÐÅÏ¢¾Í»á¶ªÊ§£¬¶øcookieÔÚÒ»¶¨³Ì¶ÈÉÏ´æÔÚ°²È«Òþ»¼
asp.net 2.0ÒýÈëµÄprofile¼¼Êõ ¿ÉÒԺܺõĽâ¾ö¸ÃÎÊÌâ¡£
Ç¿ÀàÐÍ ³¤ÆÚ±£´æ Ö§³ÖÄäÃûÓû§
¶¨ÒåÅäÖã¨profile£©
<?xml version="1.0"?>
<c ......

asp.netµ¼³öµ½excel

   µ¼³öµ½excelµÄ·½·¨ÓжàÖÖ£¬±È½Ï³£¼ûµÄÊÇÖ±½Óµ¼³öµ½EXCEL,»¹ÓоÍÊÇÏȽ«Ò³ÃæµÄÊý¾Ýдµ½´ÅÅÌÎļþ£¬Ö®ºóÖ±½ÓÔÙ´ò¿ªÎļþ£¬ÁíÍ⻹ÓоÍ
ÊǽèÖúµÚÈý·½µÄ¿Ø¼þ¡£
ǰ¶Îʱ¼äдµÄµ¼³öÊý¾Ýµ½excelÔÚexcel2003ÖÐÕý³£¶øÔÚexcel2007ÖÐÊý¾ÝÂÒÂ룬½ñÌìÁ˽⵽ԭÀ´ÊÇResponse.ContentType = "application/ms-excel";µ¼Öµģ¬¸ÄΪR ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ