예제 #1
0
        private void LlenarDgv()
        {
            UsuarioNeg neg = new UsuarioNeg();
            DataSet    ds  = neg.ListarFlujos();

            dgv.DataSource = ds.Tables[0];
            DataGridViewButtonColumn col = new DataGridViewButtonColumn();

            col.UseColumnTextForButtonValue = true;
            col.Text = "Ver";
            col.Name = "Ver";
            dgv.Columns.Add(col);
        }