private void btnProcurar_Click(object sender, EventArgs e) { string psq = txtData.Text; resCardapio = Cardapio.ConverteObject(CRUD.SelecionarTabela("cardapio", Cardapio.Campos(), "Data='" + psq + "'", "ASC")); if (resCardapio.Count() > 0) { regAtual = resCardapio.First(); MostraDados(); } else { LimpaControles(); } novo = false; }