public static int InsertDataTable(DataTable tableToInsert, DataTable tableSchema) { return(TableDAL.InsertDataTable(TableDAL.DefaultConnectionString, tableToInsert, tableSchema)); }
public static int InsertDataTable(DataTable tableToInsert, string tableName) { return(TableDAL.InsertDataTable(tableToInsert, TableDAL.GetTableSchema(tableName))); }