This commit is contained in:
34
RH/ChecadorAsistencia.aspx.cs
Normal file
34
RH/ChecadorAsistencia.aspx.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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(ClsClaseBase objbase = new ClsClaseBase())
|
||||
{
|
||||
try
|
||||
{
|
||||
Usuario user = (Usuario)Context.Session["UsuarioSIG"];
|
||||
if(objbase.runQuerystr(string.Format("EXEC PA_RH_GetAsistenciaChecador {0}", user.CveEmpresa))){
|
||||
GVGetAsistenciaChecador.DataSource = objbase.DtResultados;
|
||||
GVGetAsistenciaChecador.DataBind();
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user