personal arreglado
This commit is contained in:
+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),
|
||||
|
||||
Reference in New Issue
Block a user