Пример #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     try
     {
         int      agencia  = Convert.ToInt32(Session["idagencia"]);
         DateTime f1       = Convert.ToDateTime(TextBox1.Text);
         int      empleado = Convert.ToInt32(Session["idempleado"]);
         GridView2.DataSource = pa.FALTADEPAGO(f1, agencia, empleado);
         GridView2.DataBind();
     }
     catch (Exception ex)
     {
     }
 }