editar funcioanndo sin modificar la BD
This commit is contained in:
+6
-1
@@ -57,7 +57,12 @@ namespace compabetov2.admin
|
|||||||
|
|
||||||
private void pictureBox2_Click(object sender, EventArgs e)
|
private void pictureBox2_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
|
decimal precio = decimal.Parse(txtPrecio.Text);
|
||||||
|
}catch(Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Por favor introduzca un precio valido", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void pictureBox1_Click(object sender, EventArgs e)
|
private void pictureBox1_Click(object sender, EventArgs e)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user