Beispiel #1
0
        public void mtdLlenar()
        {
            DataSet dsProgrma = new DataSet();

            dsProgrma            = po.mtdListarProgramas();
            GridView1.DataSource = dsProgrma.Tables[0];
            GridView1.DataBind();
        }
Beispiel #2
0
        protected void Page_Init(object sender, EventArgs e)
        {
            clProgramas objProgramas = new clProgramas();
            Global      global       = new Global();


            string a = Application["Id"].ToString();

            try
            {
                DataSet dsDepartamento = new DataSet();

                dsDepartamento         = objProgramas.mtdListarProgramas(a);
                gvProgramas.DataSource = dsDepartamento;


                gvProgramas.DataBind();
            }
            catch (Exception)
            {
            }
        }