Esempio n. 1
0
 protected void BindACContacts()
 {
     try
     {
         gvAmeriCorps.DataSource = Americorpsmembers.GetAmericorps();
         gvAmeriCorps.DataBind();
     }
     catch (Exception ex)
     {
         lblErrorMsg.Text = ex.Message;
     }
 }
Esempio n. 2
0
        protected void BindGridWithSort()
        {
            DataTable dt = Americorpsmembers.GetAmericorps();

            SortDireaction = CommonHelper.GridSorting(gvAmeriCorps, dt, SortExpression, SortDireaction != "" ? ViewState["SortDireaction"].ToString() : SortDireaction);
        }