validacion de que tenga rows
This commit is contained in:
@@ -814,7 +814,7 @@ public partial class General_PopUpPaqueteriasGuias : ClsPaginas
|
|||||||
private string getCorreoString()
|
private string getCorreoString()
|
||||||
{
|
{
|
||||||
ClsVentas ObjVentas = new ClsVentas();
|
ClsVentas ObjVentas = new ClsVentas();
|
||||||
if (ObjVentas.GetVenta(CveVenta,UsuarioActual.CveEmpresa))
|
if (ObjVentas.GetVenta(CveVenta,UsuarioActual.CveEmpresa) && ObjVentas.DtResultados.Rows.Count > 0 )
|
||||||
{
|
{
|
||||||
int CveVendedor = ObjVentas.DtResultados.Rows[0]["CveVendedor"].ToEntero();
|
int CveVendedor = ObjVentas.DtResultados.Rows[0]["CveVendedor"].ToEntero();
|
||||||
int CveCliente = ObjVentas.DtResultados.Rows[0]["CveCliente"].ToEntero();
|
int CveCliente = ObjVentas.DtResultados.Rows[0]["CveCliente"].ToEntero();
|
||||||
|
|||||||
Reference in New Issue
Block a user