Posts by Davi Dorna • 13 points
3 posts
-
0
votes1
answer122
viewsQ: Procedure Price Range
I’m trying to create a design that according to the price range takes a different field from the table. Create Procedure BuscaPreco @preco decimal, @faixa1 int, @faixa2 int, @faixa3 int,…
-
0
votes2
answers269
viewsQ: Return last record from table
I’m trying to make a method that returns the last record of the table but gives error: Failure in operation"coditem" public int UltimoItem() { con = conexao.obterConexao(); try { cmd = new…
-
-1
votes3
answers7968
viewsA: Delete a line in Datagrid
Try this: if (dgvItens.CurrentRow != null) { listaItens.RemoveAt(dgvItens.CurrentRow.Index); dgvItens.DataSource = listaItens.ToList(); }…
c#answered Davi Dorna 13