public static DataTable CarregarLista()
{
Spartacus.Database.Generic database;
Spartacus.Database.Command cmd = new Spartacus.Database.Command();
DataTable tabela = new DataTable("Trabalhos");
cmd.v_text = "select t.* from Trabalhos t";
try
{
database = new Spartacus.Database.Sqlite(DB.GetStrConection());
tabela = database.Query(cmd.GetUpdatedText(), "Trabalhos");
}
catch (Spartacus.Database.Exception ex)
{
ControllerArquivoLog.GeraraLog(ex);
}
return tabela;
}