personal arreglado
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -171,8 +171,6 @@ namespace compabetov2.database
|
||||
SQLiteCommand commandEmpleado = new SQLiteCommand(sqlEmpleado, conexion);
|
||||
commandEmpleado.Parameters.AddWithValue("@fklogin", fkLogin);
|
||||
commandEmpleado.Parameters.AddWithValue("@idempleado", idempleado);
|
||||
|
||||
|
||||
commandEmpleado.ExecuteNonQuery();
|
||||
|
||||
transaccion.Commit();
|
||||
|
||||
+3
-5
@@ -125,11 +125,9 @@ namespace compabetov2.database
|
||||
|
||||
while (reader.Read())
|
||||
{
|
||||
int fkIdLogin = -1;
|
||||
try {
|
||||
long fkIdLoginTemp = reader.GetInt64(13);
|
||||
fkIdLogin = Convert.ToInt32(fkIdLoginTemp);
|
||||
}catch (Exception ex) { }
|
||||
long fkIdLoginTemp = reader.GetInt64(14);
|
||||
int fkIdLogin = Convert.ToInt32(fkIdLoginTemp);
|
||||
|
||||
long id = reader.GetInt64(0);
|
||||
Empleado empleado = new Empleado(
|
||||
Convert.ToInt32(id),
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user