public static DataTable CarregarListaOrcamentos()
{
DataTable tabela = new DataTable("ordemdeservico");
Spartacus.Database.Generic database;
try
{
database = new Spartacus.Database.Sqlite(DB.GetStrConection());
tabela = database.Query(@"select Id, Equipamento, NumeroDeSerie, Defeito, DataEntradaServico from OrdemDeServico
where Situacao = 'Orçamento'", "Ordemdeservico");
}
catch (Exception ex)
{
ControllerArquivoLog.GeraraLog(ex);
}
return tabela;
}