示例#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();
        }