예제 #1
0
        //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);
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RidersManager zm = new RidersManager();

            ListaRiderow = zm.PassRiders();
        }
예제 #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RidersManager rl = new RidersManager();

            RidersList = rl.PassRiders();
        }