Example #1
0
 protected void LlenarGrid()
 {
     dsVentas            = new DataSet();
     dsVentas            = objDatos.ListarVentasCli(Application["cnn"].ToString(), int.Parse(Session["cveUsu"].ToString()), '0', 0);
     gvVentas.DataSource = dsVentas;
     gvVentas.DataMember = "Ventas";
     gvVentas.DataBind();
 }