public void Buscar() { PlanLogic comlo = new PlanLogic(); this.gridview.DataSource = comlo.GetPlan(this.txtbuscar.Text); this.gridview.DataBind(); }
public ActionResult Submit(string datastream) { string[] data = datastream.Split(';'); string from = data[0]; string to = data[1]; string arrival = data[2]; pLogic.GetPlan(from, to, arrival); return(RedirectToAction(nameof(Index))); }