08 2012 档案

摘要:1.最简单的Response.Write("<script>alert('查询语句执行出错!');window.location.href=DisplayData.aspx</script>");2.一般后台弹出提示框,都是用Page.RegisterStartupScript,不用Response.Write的Page.RegisterStartupScript("msg", "<script>alert('查询语句执行出错!');window.location.href=& 阅读全文
posted @ 2012-08-15 17:27 iowns 阅读(822) 评论(0) 推荐(0)
摘要:<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundField DataField="ID" HeaderText="ID" /> <asp:BoundField DataField="Name" HeaderText="Name" /> <asp:TemplateFie 阅读全文
posted @ 2012-08-14 14:18 iowns 阅读(770) 评论(1) 推荐(0)