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>
Ïà¹ØÎĵµ£º
asp.netÓÐʱºò³£³£Ó÷þÎñÆ÷°ó¶¨¿Ø¼þÓÐЩÂé·³...
´úÂëÓÐЩÔÓ....
using System;
using System.Web.UI.WebControls;
using System.Data;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Web;
using System.Text;
namespace pub.mo
{
public class bind
{
p ......
1£¬ÔÚweb·þÎñÆ÷ÉÏ°²×°OracleÊý¾Ý¿â¿Í»§¶Ë£¬ÕâÊÇÁ¬½ÓOracleÊý¾Ý¿âµÄ»ù´¡£¨µ«£¬²»Ò»¶¨ÊDZØÐëµÄ£©¡£
2£¬ÔÚ¿Í»§¶ËµÄNet Manager ÖнøÐÐÅäÖ÷þÎñµÄÃû³Æ£¬ÅäÖÃÈçͼ£¨ÕâÒ»µã·Ç³£µÄÖØÒªÒÔºóµÄÁ´½ÓÈ«¶¼ÔÚÕâ¸ö·þÎñÃû³ÆµÄ»ù´¡ÉϽøÐеģ©
3£¬ASPÁ´½Ó·þÎñµÄÁ´½Ó×Ö·û´®ºÍ·½·¨ÈçÏ£º
<%
connstr= "Provider=MSDAORA.1;Password=***; ......
Ò».Response¶ÔÏóµÄWrite·½·¨ÓëJavaScript½Å±¾ÓïÑԵĽáºÏʹÓÃ.(page_51)
µ¯³öÌáʾ¶Ô»°¿ò.
Response.Write("<script>alert('ÄãºÃ!');</script>");
2.¹Ø±Õ´°¿Ú
Response.Write("<script>window.opener=null;window.close();script>");
¶þ.»ñÈ¡¿Í»§¶ËIPµØÖ·.(page_54)
1. ͨ¹ýRequestµ ......
ÔÚ¿ª·¢Öо³£¿ÉÒÔÅöµ½ÀàËƵÄÎÊÌâ: Ïëͨ¹ýÒ»¸öÊ÷¸¸½ÚµãµÄTreeNodeCheckChanged ʼþ( Ç°ÌáÊÇÉèÖÃTreeView µÄCheckBox ¿É¼û), À´Ñ¡Ôñ»ò·´Ñ¡ÔñÈ«²¿µÄ×Ó½Úµã, À´ÊµÏÖ×Ô¼ºµÄҪʵÏֵIJÙ×÷¹¦ÄÜ. ÓÚÊÇÎÒÃǺÜÕý³£µÄ˼ά´ÙʹÎÒÃÇȥѰÕÒTreeView µÄµÄÀàËÆÓÚ ” CheckChanged ” µÄʼþ, ºÜÈÝÒ×ÎÒÃÇÕÒµ½ÁËÕâ¸öʼþ ” ......
ASP.NetʵÏÖ½«Wordת»»PDF¸ñʽ
×÷ÕߣºØýÃû À´Ô´£º¶¯Ì¬ÍøÕ¾ÖÆ×÷Ö¸ÄÏ Ê±¼ä£º2006-3-28
¡¡Ç°ÑÔ:ÓÉÓÚÒ»¸ö¿Í»§µÄÏîÄ¿ÖÐÐèÒª½«WORDÎĵµ×ª»»³ÉPDF¸ñʽ,¹ÊдÁ˱¾ÆªÊµÕ¾½Ì³Ì
¡¡¡¡ÐèÇó·ÖÎö:¿Í»§µÄÏîÄ¿ÒÔB/S½á¹¹ÎªÖ÷,Ìṩһ¸öWORDÎļþÔÚºǫ́×Ô¶¯×ª»»³ÉPDF,¾¹ýʵ¼Ê²âÊÔ,Èç¹û¸ÃƪWORDÎĵµÓÐ100¶àÒ³µÄ»°,ת» ......