Example #1
0
    //删除数据
    protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {
        string       id    = this.GridView1.DataKeys[e.RowIndex].Value.ToString();
        U_UserNameBU user1 = new U_UserNameBU();

        user1.DeleteUser(id);
        this.BindData(user1);
        user1.Close();
    }