34 lines
921 B
C#
34 lines
921 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(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)
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
} |