asp.net iframe ÎÊÌâ - .NET¼¼Êõ / ASP.NET
<script language="javascript" type="text/javascript">
function openjcl(){
var jclxt=document.getElementById("openpdi");
jclxt.src="TLXTZT.PDI";
// alert(jclxt.src);
// window.location.reload();
// document.location.reload();
// document.execCommand('Refresh');
}
</script>
<button id="jcl" runat="server" style="width:100px; height:25px;" onclick="openjcl()">¾«´¦Àíϵͳ</button>
<iframe id="openpdi" frameborder="0" width="100%" height="600" scrolling="yes" src="EHXT.PDI"></iframe>
ÎÒÔÚÒ³Ãæ¼ÓÔØʱ£¬Ö¸¶¨iframeµÄSrcΪ¡°EHXT.PDI¡±,ÔÚµã»÷¡°¾«´¦Àíϵͳ¡±°´Å¥ºó£¬½«iframeµÄsrc»»³É"TLXTZT.PDI",È»ºóË¢ÐÂÒ³Ã棬¿ÉÊÇÒ³ÃæÏÔʾµÄ»¹ÊÇ¡°EHXT.PDI¡±µÄÄÚÈÝ£¬Ã»Óл»³É"TLXTZT.PDI"µÄÄÚÈÝ£¬ÇëÎÊÔõÃÇ»Øʶù£¿
ok£¬½â¾öÁË£¡ ¼ÓÒ»¾ä jclxt.reload(); ¾Í¿ÉÒÔÁË£¡
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌⶼ¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
¸÷λºÃ£¬ÎÒ¸Õ°ÑÒ»¸öASPÍøÕ¾ÉèÖúÃÁË£¬Ò²ÄÜÕý³£·ÃÎÊ¡£µ«ÊÇÔÚÎÒ±¾»úÉϲ»ÄÜ´ò¿ªadmin\login.asp,ËùÒÔÎÞ·¨ÊµÏÖºǫ́¹ÜÀí¡££¨´íÎóÌáʾÎÞ·¨ÕÒµ½ÍøÒ³£¬´úÂë404£¬ÎҵIJÙ×÷ϵͳÊÇwin2000 server)
µ«ÊÇÆæ¹ÖµÄÊÇÔÚ¾ÖÓòÍøµÄÆäËû» ......