private void getDataList() { List <ClsShippingChannel> dataList = rep.GetShippingChannels(); rgGrid.DataSource = dataList; }