asp.net Éí·ÝÑéÖ¤
1¡¢¸øweb.configÌí¼Ó<authentication>ÔªËØ
2¡¢¸øweb.configÎļþÌí¼Ó<forms>ÔªËØ
<forms name=".aspxauth" loginUrl="Login.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile"></forms>
3¡¢FormsAuthentication.RedirectfromLoginPage("sdsdsd", true); ÉèÖÃcookie
4¡¢FormsAuthentication.Authenticate("12", "12") ¸ù¾Ýweb.configÅäÖÃÑéÖ¤
web.configÅäÖÃ
<authentication mode="Forms">
<forms name=".aspxauth" loginUrl="Login.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile">
<credentials passwordFormat="Clear">
<user name="12" password="12"/>
</credentials>
</forms>
</authentication>
Ïà¹ØÎĵµ£º
ÔÚÐÂÔöÊý¾ÝÏîµÄʱºò£¬ÓÃajaxʵÏÖÎÞË¢ÐÂÌá½»£¬µ«ÉÏ´«ÎļþµÄʱºò£¬ÓÉÓÚÊý¾ÝÀàÐÍÔÒò£¬²»Äܽ«Ò³ÃæµÄ<asp:FileUpload>ÖÐÒÔ×Ö·û´®ÖµµÄ·½Ê½´«µ½jsÀïµ÷Óá£ÎÒÒ»¹²ÕÒµ½ÁËÁ½¸ö·½·¨ÓèÒÔ½â¾ö£¬ÊµÏÖÎÞË¢ÐÂÉÏ´«¡£
µÚÒ»ÖÖ·½·¨£ºÀûÓÃjsµÄADODB.Stream£¬½«ÎļþÏÈת»»³ÉÁ÷£¬ÔÙͨ¹ýjsÉÏ´«µ½·þÎñÆ÷£¬ÕâÑùÓиöºÃ´¦¾ÍÊÇ¿ÉÒÔÉÏ´«³¬´óÎļþ£ ......
×î½üÔÚºÍÒ»¸öͬѧ±àдһ¸ö¹ÜÀíϵͳµÄʱºò£¬ÒªÓõ½GridView¿Ø¼þ£¬½á¹ûÔÚCSDNÀïÃæÕÒµ½Ò»¸ö²©¿Í£¬ÕâЩ½²µÃºÜÏêϸ£¬Ìṩһ¸öµØÖ·¸ø´ó¼Ò²Î¿¼°É
http://blog.csdn.net/21aspnet/archive/2007/03/25/1540301.aspx
»¹ÓÐÒ»¸ö¾ÍÊǰٶȿռäÀïÃæµÄ:http://hi.baidu.com/%BA%AB%C7%EC%D5%EA/blog/item/c0b717daa312fb3f33fa1c91.html ......
ASP.NetʵÏÖ½«Wordת»»PDF¸ñʽ
×÷ÕߣºØýÃû À´Ô´£º¶¯Ì¬ÍøÕ¾ÖÆ×÷Ö¸ÄÏ Ê±¼ä£º2006-3-28
¡¡Ç°ÑÔ:ÓÉÓÚÒ»¸ö¿Í»§µÄÏîÄ¿ÖÐÐèÒª½«WORDÎĵµ×ª»»³ÉPDF¸ñʽ,¹ÊдÁ˱¾ÆªÊµÕ¾½Ì³Ì
¡¡¡¡ÐèÇó·ÖÎö:¿Í»§µÄÏîÄ¿ÒÔB/S½á¹¹ÎªÖ÷,Ìṩһ¸öWORDÎļþÔÚºǫ́×Ô¶¯×ª»»³ÉPDF,¾¹ýʵ¼Ê²âÊÔ,Èç¹û¸ÃƪWORDÎĵµÓÐ100¶àÒ³µÄ»°,ת» ......
jqueryÖÐÒѾ·â×°ÁËajaxµÄ¹ý³Ì£¬Ê¹ÓÃÆðÀ´ºÜ¼òµ¥£º
ͨ¹ýget·½Ê½Ìá½»£º
<html>
<head>
<title>ʵÏÖ·þÎñÆ÷ʱ¼äʵʱ±ä»¯</title>
<script language="javascript" type="text/javascript" src="js/jquery-1.3.1.js"></script>
& ......
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); }
µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.location.href=document.URL; < /script& ......