Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         //Llenamos los combos de camión y chofer
         UtilControls.FillDropDownList(DDLChofer, "IdChofer", "Nombre", BLLChofer.GetChoferes(true), "", "Selecciona Chofer");
         UtilControls.FillDropDownList(DDLCamion, "IdCamion", "Matricula", BLLCamiones.GetlistCamiones(true), "", "Selecciona Camión");
         Session["CargaRuta"] = null;
     }
 }
Пример #2
0
 private void RecargarGrid()
 {
     GVChoferes.DataSource = BLLChofer.GetChoferes(null);
     GVChoferes.DataBind();
 }