Beispiel #1
0
        public void LoadChairmanInfo()
        {
            DataTable dt = sManager.GetChairmanInfo();

            GridViewChairman.DataSource = dt;
            GridViewChairman.DataBind();
        }
Beispiel #2
0
        protected void GridViewChairman_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            Label     lbleDelete = (Label)GridViewChairman.Rows[e.RowIndex].FindControl("lblName");
            DataTable dt         = sManager.DeleteChairmanInfo(lbleDelete);

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