Пример #1
0
        public static bool Update(ExcelDataSet.CellsRow row)
        {
            try
            {
                CellsTableAdapter adapter = new CellsTableAdapter();

                adapter.Update(row);
                return(true);
            }
            catch
            {
                throw;
            }
        }
Пример #2
0
        public static bool Update(ExcelDataSet.CellsDataTable table)
        {
            try
            {
                CellsTableAdapter tableAdapter = new CellsTableAdapter();

                tableAdapter.Update(table);
                return(true);
            }
            catch (OleDbException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Пример #3
0
 public C_CellTable()
 {
     DataTable    = new ExcelDataSet.CellsDataTable();
     TableAdapter = new CellsTableAdapter();
 }