Exemplo n.º 1
0
 //LLENAR TIPO DE PLANILLA EN COMBOBOX
 private void LlenarTipoPlanilla()
 {
     using (NTipoPlanilla ntp = new NTipoPlanilla())
     {
         cbotipoplanilla.DataSource    = ntp.Getall();
         cbotipoplanilla.DisplayMember = "Tipo_Planilla";
         cbotipoplanilla.ValueMember   = "IdTipoPlanilla";
     }
 }