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

ASP.NETÖУ¬¼¸¶Î²¥·ÅÆ÷µÄ´úÂë

µÚÒ»ÖÖ²¥·ÅÆ÷´úÂ룺
<object title="dvubb" align="middle" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="object" id="MediaPlayer" width="480" height="360">
<param name="AUTOSTART" value="true"/>
<param name="ShowStatusBar" value="-1"/>
<param name="Filename" value="F:\asp.net\datalist¿Ø¼þ\1.wmv"/>
<embed title="dvubb" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="mp" src="F:\asp.net\datalist¿Ø¼þ\1.wmv" mce_src="F:\asp.net\datalist¿Ø¼þ\1.wmv" width="480" height="360" autoplay="false"></embed>
</object>
µÚ¶þÖÖ²¥·ÅÆ÷´úÂ룺
<object id="player" height="64" width="260" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param NAME="AutoStart" VALUE="-1">
<!--ÊÇ·ñ×Ô¶¯²¥·Å-->
<param NAME="Balance" VALUE="0">
<!--µ÷Õû×óÓÒÉùµÀƽºâ,ͬÉÏÃæ¾É²¥·ÅÆ÷´úÂë-->
<param name="enabled" value="-1">
<!--²¥·ÅÆ÷ÊÇ·ñ¿ÉÈËΪ¿ØÖÆ-->
<param NAME="EnableContextMenu" VALUE="-1">
<!--ÊÇ·ñÆôÓÃÉÏÏÂÎIJ˵¥-->
<param NAME="url" value="F:\asp.net\datalist¿Ø¼þ\1.wmv">
<!--²¥·ÅµÄÎļþµØÖ·-->
<param NAME="PlayCount" VALUE="1">
<!--²¥·Å´ÎÊý¿ØÖÆ,ΪÕûÊý-->
<param name="rate" value="1">
<!--²¥·ÅËÙÂÊ¿ØÖÆ,1ΪÕý³£,ÔÊÐíСÊý,1.0-2.0-->
<param name="currentPosition" value="0">
<!--¿Ø¼þÉèÖÃ:µ±Ç°Î»ÖÃ-->
<param name="currentMarker" value="0">
<!--¿Ø¼þÉèÖÃ:µ±Ç°±ê¼Ç-->
<param name="defaultFrame" value="">
<!--ÏÔʾĬÈÏ¿ò¼Ü-->
<param name="invokeURLs" value="0">
<!--½Å±¾ÃüÁîÉèÖÃ:ÊÇ·ñµ÷ÓÃURL-->
<param name="baseURL" value="">
<!--½Å±¾ÃüÁîÉèÖÃ:±»µ÷ÓõÄURL-->
<param name="stretchToFit" value="0">
<!--ÊÇ·ñ°´±ÈÀýÉìÕ¹-->
<param name="volume" value="50">
<!--ĬÈÏ


Ïà¹ØÎĵµ£º

Cookies½ÒÃØ [Asp.Net, Javascript]

Ò»£¬Ç°ÑÔ
CookiesÏë±ØËùÓÐÈ˶¼Á˽⣬ µ«ÊÇδ±ØËùÓÐÈ˶¼¾«Í¨¡£±¾ÎĽ²½âÁËCookiesµÄ¸÷·½Ãæ֪ʶ£¬ ²¢ÇÒÌá³öÀ´ÁË×î¼Ñʵ¼ù¡£ÕâÊDZÊÕßÔÚÈÕ³£¹¤×÷ÖеĻýÀۺͳÁµí¡£
¶þ£¬»ù´¡ÖªÊ¶
1.ʲôÊÇCookies
Cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæ×ÅÓû§ÇëÇóºÍÒ³ÃæÔÚ Web ·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Cookie °üº¬Ã¿´ÎÓû§·ÃÎÊÕ¾µãʱ Web Ó¦ÓóÌÐò¶¼¿ ......

ASP.NET ¶¨Ê±Ö´ÐÐÒ»¶Î´úÂë Global.asax

ÔÚGlobal.asaxÆô¶¯Ò»ÌõÏ߳̾ÍokÁË£¬ÏÂÃæÊÇÆô¶¯Ï̶߳¨Ê±Ð´ÎļþµÄÀý×Ó
ÔÚGlobal.asax
C# code:
<%@ Application Language="C#" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Threading" %>
<script runat="server">   
 string LogPath;  ......

ASP.NETµÄĬÈϵ÷Óúǫ́º¯Êý

ÒÔÏÂÊÇϵͳ×Ô¶¯Éú³ÉµÄ»Øµ÷º¯Êý
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['Form1'];
if (!theForm) {
    theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.ons ......

asp.net »ñÈ¡µ±Ç°URLµÄÕýÈ··½·¨

HttpContext.Current.Request.Url.ToString() ²¢²»¿É¿¿¡£
Èç¹ûµ±Ç°URLΪ
http://localhost/search.aspx?user=http://csharp.xdowns.com&tag=%BC%BC%CA%F5
ͨ¹ýHttpContext.Current.Request.Url.ToString()»ñÈ¡µ½µÄÈ´ÊÇ
http://localhost/search.aspxuser=http://csharp.xdowns.com&tag=&frac14;&fra ......

ÔÚasp.netÖжÔXMLÎĵµ½øÐеIJÙ×÷£¨²»È«£¬´ýÐø£©

¶ÁXMLÎļþ
DataSet books = new DataSet();
books.ReadXml(MapPath("booklist.xml"));
booklist.DataSource = books;
booklist.DataBind(); ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ