//删除
    protected void ibDel_ItemDeleting(object sender, EventArgs e)
    {
        try
        {
            int Id = Convert.ToInt32((sender as LinkButton).CommandArgument);
            OrdersBLL.DeleteOrders(Id);

            Response.Write("<script>alert('取消成功!');location=location;</script>");
        }
        catch
        {
            Response.Write("<script>alert('取消失败!');</script>");
        }
    }