protected void BindVndrContactList(long VendorID) { CustomProfile profile = CustomProfile.GetProfile(); List <tContactPersonDetail> ConPerLst = new List <tContactPersonDetail>(); iUCCommonFilterClient UCCommonFilter = new iUCCommonFilterClient(); ConPerLst = UCCommonFilter.GetContactPersonListVendorWise(VendorID, profile.DBConnection._constr).ToList(); gvContactPerson.DataSource = ConPerLst; gvContactPerson.DataBind(); }