private void ShowSubsidio() { using (ns) { dgvsubsidio.DataSource = ns.Getall(); } }
private void ShowSubsidio(string tip_subNosub) { using (ns) { ns.Tipo_subsidio = tip_subNosub; dgvsubsidio.DataSource = ns.Getall(); lbltotal.Text = "Total registro: " + dgvsubsidio.RowCount; } }