private void InsertReturnInfo()
        {
            string custno   = Request["custno"];
            string custname = Request["custname"];

            string[] retdate = Request["retdate"].Split(new char[] { '-' }, StringSplitOptions.None);
            string   address = Request["address"];
            string   notes   = Request["notes"];
            string   empid   = Request["empid"];
            int      kioskid = Convert.ToInt32(Request["kioskid"]);

            int year  = Convert.ToInt32(retdate[0]);
            int month = Convert.ToInt32(retdate[1]);
            int day   = Convert.ToInt32(retdate[2]);

            ReturnInfo ri = new ReturnInfo();

            ri.CustNo   = custno;
            ri.CustName = custname;
            ri.RetDate  = new DateTime(year, month, day);
            ri.Adress   = address;
            ri.Notes    = notes;
            ri.EmpID    = empid;
            ri.KioskID  = kioskid;
            //
            //bool isInserted = true;
            //JsonBridge<String> ins = new JsonBridge<String>();
            //try
            //{
            //    ReturnInfo.InsertReturnInfo(ri);
            //}
            //catch (Exception)
            //{
            //    isInserted = false;
            //}

            //ins.Valid = isInserted == true ? 1 : 0;
            int res = 0;
            JsonBridge <String> ins = new JsonBridge <String>();

            try
            {
                res = ReturnInfo.InsertReturnInfo(ri);
            }
            catch (Exception)
            {
                res = 0;
            }

            ins.Valid = res;

            string output = JsonConvert.SerializeObject(ins);

            Response.Write(output);
        }