Exemplo n.º 1
0
        public void LoadDirectorInfo()
        {
            DataTable dt = sManager.GetDirectorInfo();

            GridViewDirector.DataSource = dt;
            GridViewDirector.DataBind();
        }
Exemplo n.º 2
0
        protected void GridViewDirector_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            Label     lbleDelete = (Label)GridViewDirector.Rows[e.RowIndex].FindControl("lblNames");
            DataTable dt         = sManager.DeleteDirector(lbleDelete);

            GridViewDirector.DataSource = dt;
            GridViewDirector.DataBind();
        }