asp.net³£ÓÐС·½·¨ÕûÀí
=================================<1>Ò³Ãæ¿ØÖÆ ======================================
<script type ="text/javascript" src="../js/Calendar.js"charset ="gb2312"></script>
<input ID="Text1" type="text" runat="server" onfocus="calendar()"/>
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->²»ÄÜÓÐ
Ê×ÏÈ·ÀÖ¹F5ˢбȽϺð죬дÏÂÃæµÄjs´úÂë¼´¿É£º
<mce:script type="text/javascript"><!--
function document.onkeydown(){
i f(event.keyCode==116){ window.alert('¿¼ÊÔÆڼ䣬²»ÔÊÐí°´F5Ë¢ÐÂ');event.keyCode=0;event.returnValue=false;}
}
// --></mce:script>
ÓÒ¼üÒ²ºÃÆÁ±Î£¬¿´ÈçÏ´úÂ룺
<SCRIPT language=javascript>
<!-- begin
function click() {
if (event.button==2) {
alert('¿¼ÊÔÆڼ䣬Ç벻ҪʹÓÃÓÒ¼ü£¡')
}
}
document.onmousedown=click
end -->
</script>
¹Ø¼üÊÇÈçºÎÆÁ±ÎIE¹¤¾ßÀ¹ÉϵÄˢа´Å¦£¬ºóÀ´Êܵ½Ò»Ð©×ÊÁϵÄÆô·¢ÖÕÓÚÕÒµ½Á˽â¾öµÄ·½·¨£¬°ÑÏÂÃæ´úÂë²åÈëµ½´úÂëÖУº
Response.Write("<script language='javascript'>open('test.aspx','ÔÚÏß¿¼ÊÔ','resizable=0,status=no,toolbar=no,location=no,menul=no')</" & "script>")
Õâ¶Î´úÂëÊÇÆÁ±ÎIE¹¤¾ßÀ¹µÄ£¬Ã»ÁËIE¹¤¾ßÀ¹£¬¾Í¿ÉÒÔ´ïµ½·ÀֹˢеÄÄ¿µÄ¡£
·ÀÓÒ¼ü£¬¸´ÖÆ
1¡¢<body oncontextmenu="return false" oncopy="return false;" oncut="return false;" onselectstart="return false">
2¡¢<SCRIPT language="javascript">
document.onselectstart=a;
function a()
{
return false;
}
</SCRIPT>
<mce:script language="javascript" type="text/javascript"><!--
function document.onkeydown(){ //ÆÁ±ÎÊó±êÓÒ¼ü¡¢Ctrl+n¡¢shift+F10¡¢F5ˢС¢Í˸ñ¼ü
//alert("ASCII´úÂëÊÇ£º"+event.keyCode);
if ((window.event.altKey)&&
((window.event.keyCode==37)|| //ÆÁ±Î Alt+ ·½Ïò¼ü ←
(window.event.keyCode==39))){ //ÆÁ±Î Alt+ ·½Ïò¼ü →
alert("²»×¼ÄãÊ
Ïà¹ØÎĵµ£º
//private string datapatch = ConfigurationSettings.AppSettings["acessconn"];//Êý¾Ý¿âµØÖ·
private string datapatch = "db/global.asa";//Êý¾Ý¿âµØÖ·
///
/// È¡µÃdataset
//
/// ²éѯÓï¾ä
///
public DataSet GetDataSet(string Commandtext)
{&nbs ......
² Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
² Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
² ......
ÒÔÏÂÀàÈÝΪתÔØ£¬µ«ÊDz»ÖªµÀÊÇʲôÔÒò£¬¾±¾È˲âÊÔÕâ¸ö·½·¨ÓÐÒ»¸öbug£¬°´ÕÕÒÔÏÂÀàÈÝËùÉè¼ÆµÄ½ÇÉ«ÑéÖ¤²»Äܳɹ¦¡£Application_AuthorizeRequestʼþ¸ÄΪApplication_AuthenticateRequestʼþ²ÅÄÜʵÏÖ¡£
Asp.netµÄÉí·ÝÑéÖ¤ÓÐÓÐÈýÖÖ£¬·Ö±ðÊÇ"Windows | Forms | Passport"£¬ÆäÖÐÓÖÒÔFormsÑéÖ¤ÓõÄ×î¶à£¬Ò²×îÁé»î¡£
Forms ÑéÖ¤ ......