protected void WarehouseGridBind() { iCompanySetupClient Channel = new iCompanySetupClient(); try { CustomProfile profile = CustomProfile.GetProfile(); grdchannel.DataSource = Channel.GetChannelList(profile.DBConnection._constr); grdchannel.DataBind(); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Warehouse Master", "MainCustomerGridBind"); } finally { Channel.Close(); } }