ASP.NETµ¯³öÌáʾ´°ÌåµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET
this.Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "Message", "<script>alert('ÊäÈëµÄ»áÔ±¿¨ºÅ²»´æÔÚ¡£')</script>"); µ±µã»÷È·¶¨ÒÔºó Çå¿ÕÒ³ÃæÉϰ󶨵ÄÊý¾Ý£¡ Õâ¸ö¸ÄÔõô×ö£¡
Êý¾ÝÔ´ ÉèÖÃΪ NULL ÔÚºǫ́£¬²»ÄÜÖ´ÐÐÕâÑùµÄ²Ù×÷£¨»áÎÞЧµÄ£© Ö»ÄÜÕâÑù£º 1¡¢ÔÚǰ̨ <asp:Button ID="Button1" runat="server" Text="È·¶¨±£´æ" OnClick="Button1_Click" OnClientClick="return confirmSave('ÄãȷʵҪÇå¿ÕÊý¾ÝÂð£¿')"/> 2¡¢ÔÚºǫ́£º protected void Button1_Click(object sender, EventArgs e) { //ÄãµÄÖ´ÐдúÂë }ÒýÓà ÔÚºǫ́£¬²»ÄÜÖ´ÐÐÕâÑùµÄ²Ù×÷£¨»áÎÞЧµÄ£© Ö»ÄÜÕâÑù£º 1¡¢ÔÚǰ̨ <asp:Button ID="Button1" runat="server" Text="È·¶¨±£´æ" OnClick="Button1_Click" OnClientClick="return confirmSave('ÄãȷʵҪÇå¿ÕÊý¾ÝÂð£¿')"/>&nbsp; 2¡¢ÔÚºǫ́£º protected void ¡¡ ÎÒµ¯³öµÄÀ´µÄ»°ÊǸù¾ÝÎÒ²éѯ³öÀ´µÄÊý¾ÝÅжÏÊÇ·ñ´æÔÚÔÚµ¯³öµÄ¶Ô»°¿ò£¡ Èç´æÔÚ½øÐÐÏÂÒ»²½²½´æÔÚ¾ÍÇå¿ÕÒ³ÃæÉÏLABLEµÄÊý¾Ý£¡ this.Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "Message", "<script>alert('ÊäÈëµÄ»áÔ±¿¨ºÅ²»´æÔÚ¡£')</script>"); LABLE1.visible=f
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx ¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£ ³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
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µ ......
¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡ ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º sql×¢Èë©¶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´ ³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿ ×¢Èë©¶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹ ±©¿â©¶´Ôõô·ÀÖ¹ »¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif ÕâÖÖ©¶´Ôõôȥ± ......