Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //((LinkButton)produtos_table.FindControl("Remove_" + funcionario.IdFuncionario.ToString())).Command += new CommandEventHandler(btEliminar_Click);
- }
- int produtoid = int.Parse(botao.ID.Split('_')[1]);
- float z;
- var produto = (from x in context.Produtos
- where x.IdProduto == produtoid
- select x).SingleOrDefault();
- z = float.Parse(produto.Preco);
- Faturas.adiciona(produto.IdProduto, produto.Nome, z,texto.Text);
- }
Add Comment
Please, Sign In to add comment