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

            GridViewDirector.DataSource = dt;
            GridViewDirector.DataBind();
        }
Esempio 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();
        }