62,046
社区成员
发帖
与我相关
我的任务
分享
Page.ClientScript.RegisterStartupScript(this.GetType(), "提示信息", "<script>alert('" + "操作成功!" + "');</script>");
ScriptManager.RegisterStartupScript(this.gv_OrderInfo, this.gv_OrderInfo.GetType(), "唯一标识符12", "alert('" + "操作成功!" + "')", true);
<script>alert('删除失败!');</script></form>
</body>
</html>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (SessionCommon.IsHaveSession())
{
NewUI();
}
}
//F5会执行这个位置,我在这里设置bool值如何?
}
<asp:ButtonField CommandName="Delete" Text="删除" >
<ItemStyle Width="30px"></ItemStyle>
<ControlStyle ForeColor="Blue" />
</asp:ButtonField>