public List <DataTable> CompanyViewForDotMatrix() { List <DataTable> listObj = new List <DataTable>(); try { listObj = SpCompany.CompanyViewForDotMatrix(); } catch (Exception ex) { MessageBox.Show("CC7:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(listObj); }
public DataTable CompanyViewForDotMatrix() { DataTable dtbl = new DataTable(); CompanySP spCompany = new CompanySP(); List <DataTable> listObj = new List <DataTable>(); try { listObj = spCompany.CompanyViewForDotMatrix(); dtbl = listObj[0]; } catch (Exception ex) { MessageBox.Show("CB:6" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(dtbl); }