protected void BindWAddress(long WarehouseID) { List <tAddress> AdrsLst = new List <tAddress>(); iUCCommonFilterClient UCCommonFilter = new iUCCommonFilterClient(); CustomProfile profile = CustomProfile.GetProfile(); tblAddAdrs.Attributes.Add("style", "display:none"); AdrsLst = UCCommonFilter.GetWarehouseAddressList(WarehouseID, profile.DBConnection._constr).ToList(); gvContactPerson.DataSource = AdrsLst; gvContactPerson.DataBind(); }