//This page give JSON string with all Riders in database protected void Page_Load(object sender, EventArgs e) { RidersManager rm = new RidersManager(); JavaScriptSerializer jss = new JavaScriptSerializer(); string json = jss.Serialize(rm.PassRiders()); Response.Write(json); }
protected void Page_Load(object sender, EventArgs e) { RidersManager zm = new RidersManager(); ListaRiderow = zm.PassRiders(); }
protected void Page_Load(object sender, EventArgs e) { RidersManager rl = new RidersManager(); RidersList = rl.PassRiders(); }