protected void btnSearch_Click(object sender, EventArgs e)
        {
            DataFeed df = new DataFeed();

            df.SearchPropertyXml("Property", "Property", "DMQL2", "(LastUpdated=" + ConfigurationManager.AppSettings["lastupdated"] + ")");
            // df.GetProperty();
            DataEnter db = new DataEnter();

            db.SaveProperty();

            //  Search Master List
            //  Dictionary<string,string> dic= df.SearchTransaction("Property", "Property", "DMQL2", "(ID=*)");
            //Dictionary<string,string> dic2=df.SearchTransaction("Property", "Property", "DMQL2", "(LastUpdated=" + ConfigurationManager.AppSettings["lastupdated"] + ")");
        }
        public void Save() //Main saving method. Saves to Client side, not server
        {
            if (EditBefore != null)
            {
                EditBefore.setEdit(null);
            }
            if (InputName.text != "" && InputName.text != " ")
            {
                //Clear all current data
                MAIN.Clear();
                STATUS.Clear();
                APPEARENCE.Clear();
                EQUIPMENT.Clear();
                INVENTORY.Clear();
                SKILLS.Clear();
                MAGIC.Clear();

                scr_VersionEnter.Add(1); //Increase minor version number

                Version = scr_VersionEnter.ToString();

                scr_BaseEnter[] objs = PAGES_DO_NOT_CHANGE.GetComponentsInChildren <scr_BaseEnter>(true);
                foreach (scr_BaseEnter o in objs) //Locate and store each input field into the lists above
                {
                    bool t = o.gameObject.activeSelf;
                    o.gameObject.SetActive(true);
                    DataEnter data = new DataEnter(o.VariableName, o.type, new Vector2(o.transform.localPosition.x, o.transform.localPosition.y), o.options.ToArray()); //Create Data Entry

                    //Store in appropriate list
                    if (o.tab == 1)
                    {
                        STATUS.Add(data);
                    }
                    else if (o.tab == 2)
                    {
                        APPEARENCE.Add(data);
                    }
                    else if (o.tab == 3)
                    {
                        EQUIPMENT.Add(data);
                    }
                    else if (o.tab == 4)
                    {
                        INVENTORY.Add(data);
                    }
                    else if (o.tab == 5)
                    {
                        SKILLS.Add(data);
                    }
                    else if (o.tab == 6)
                    {
                        MAGIC.Add(data);
                    }
                    else
                    {
                        MAIN.Add(data);
                    }
                    o.gameObject.SetActive(t);
                }
                ContentManager.active.SaveSheetInstance("sheet_" + InputName.text, "CustomSheets", this, true); //Send off to save
            }
        }