Exemplo n.º 1
0
        protected void BindContactList(long DeptID)
        {
            CustomProfile profile = CustomProfile.GetProfile();
            List <tContactPersonDetail> ConPerLst      = new List <tContactPersonDetail>();
            iUCCommonFilterClient       UCCommonFilter = new iUCCommonFilterClient();

            ConPerLst = UCCommonFilter.GetContactPersonListDeptWise(DeptID, profile.DBConnection._constr).ToList();

            gvContactPerson.DataSource = ConPerLst;
            gvContactPerson.DataBind();
        }