Пример #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;
     }
 }
 private void RefrescarGrid()
 {
     GVCamiones.DataSource = BLLCamiones.GetlistCamiones(null);
     GVCamiones.DataBind();
 }