protected void btnsend_Click(object sender, EventArgs e)
    {
        //validation error
        if (!Page.IsValid)
        {
            debugmessage.InnerHtml = "Invalid input";
            return;
        }

        Double temp;
        Double.TryParse(txtprice.Text, out temp);
        int temp2;
        int.TryParse(Session["packageid"].ToString(), out temp2);

        //new service
        serviceitem = new BLserviceitem(txtname.Text, temp2, txtprice.Text, odcbconn.conn);

        //cont
        Response.Redirect("manageserviceitems.aspx");
    }
    protected void btnselect_Click(object sender, EventArgs e)
    {
        int temp1;
        int.TryParse(Session["packageid"].ToString(), out temp1);
        int temp2;
        int.TryParse(ddlitems.SelectedValue, out temp2);

        //new service
        BLserviceitem serviceitem = new BLserviceitem(temp2, odcbconn.conn);
        serviceitem.linkme(temp1 ,odcbconn.conn);

        Response.Redirect(Request.RawUrl);
    }