Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            client = new BikeDekhoService.ServiceClient();
            int id = int.Parse(Request.QueryString["id"].ToString());

            client.RemovePost(id);
            Response.Redirect("MyBikes.aspx");
        }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            client = new BikeDekhoService.ServiceClient();
            int id = int.Parse(Request.QueryString["id"].ToString());

            byte[] imageByte    = client.GetImage(id);
            string base64String = Convert.ToBase64String(imageByte, 0, imageByte.Length);

            Image1.ImageUrl = "data:image/png;base64," + base64String;
        }
Example #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     client = new BikeDekhoService.ServiceClient();
     ValidationSettings.UnobtrusiveValidationMode = UnobtrusiveValidationMode.None;
     Label5.Text = "";
 }
Example #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     client = new BikeDekhoService.ServiceClient();
     CreateTable();
 }