Files
SIG/RH/ChecadorAsistencia.aspx.cs
JORGE LUIS CAUDILLO ESPARZA ee7902cc39 move llamados a bd desde clase
2023-03-20 13:40:56 -07:00

34 lines
864 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class RH_ChecadorAsistencia : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
using(ClsRH objbase = new ClsRH())
{
try
{
Usuario user = (Usuario)Context.Session["UsuarioSIG"];
if(objbase.GetAsistenciaChecador( user.CveEmpresa)){
GVGetAsistenciaChecador.DataSource = objbase.DtResultados;
GVGetAsistenciaChecador.DataBind();
}
}
catch (Exception)
{
}
}
}
}
}