private void llenarcomboPlan() { Data.Database.Plan especia = new Data.Database.Plan(); cbldPlan.DataSource = especia.GetAll(); cbldPlan.DataValueField = "Codigo"; cbldPlan.DataTextField = "Plan"; cbldPlan.DataBind(); cbldPlan.Items.Insert(0, new ListItem("Seleccione un Plan", "0")); }
public PlanLogic() { Plans = new Data.Database.Plan(); }