private void BindingHide()
        {
            //this.saveusername
            Dictionary <string, string> paramGL = new Dictionary <string, string>();

            paramGL.Add("UserName", saveusername.Value);
            var GL = aideNativeWebFacade.ExecuteStoredProcedureByDataSet("sdk_getGameList", paramGL);

            //var gameObj = GL.Tables[0].Select(@"GameID = '" + ddlGames.SelectedValue + "'");
            DataView dv = GL.Tables[0].DefaultView;

            if (!String.IsNullOrWhiteSpace(ddlGames.SelectedValue))
            {
                dv.RowFilter = @"GameID = '" + ddlGames.SelectedValue + "'";
            }

            DataTable newT    = dv.ToTable();
            var       gameObj = newT.Rows[0];

            gameId          = gameObj["GameID"].ToString();
            gameName        = gameObj["GameName"].ToString();
            gameDisplayName = gameObj["GameDisplayName"].ToString();
            gamenamespell   = gameObj["GameNameSpell"].ToString();

            platform = ddlPlatforms.SelectedValue;
        }
        //private void UpdatePlatformMainifest()
        //{
        //    string pluginversion = this.DropDownListLeBianVersion.SelectedItem.Text;
        //    string platfromList = this.hfLeBianAndroidPlatformList.Value;
        //    string versionList = hfLeBianAndroidVersionList.Value;
        //    string[] arrPlatform = platfromList.Split(',');
        //    string[] arrVersion = versionList.Split(',');
        //    string sql = string.Format(@"select PlatformName from sdk_DefaultPlatform where id in ({0}) order by id", platfromList);
        //    DataSet dsPlatformname = aideNativeWebFacade.GetDataSetBySql(sql);//获取渠道名称

        //    string SDKPackageDir = "";
        //    SDKPackageDir = System.Configuration.ConfigurationManager.AppSettings["SDKAndroidPackageFinalMainifest"];
        //    string filename = SDKPackageDir + "AndroidManifest_LeBian";
        //    for (int i = 0; i < arrPlatform.Length; i++)
        //    {
        //        string pfname = dsAndroidPlatformVersion.Tables[0].Rows[i]["PlatformName"].ToString();
        //        filename += pluginversion + pfname + arrVersion[i] + ".xml";
        //        if (System.IO.File.Exists(filename))
        //        {
        //            //删除创建
        //            System.IO.File.Delete(filename);
        //        }
        //        //重新创建Mianifest

        //    }
        //}

        //private void CreateLeBianMainifest(string pfname,string pfversion,string lbversion)
        //{
        //    string SDKPackageDir = "";
        //    SDKPackageDir = System.Configuration.ConfigurationManager.AppSettings["SDKAndroidPackageInitialMainifest"];
        //    string platform_mainifest = "";
        //    string lebian_mainifest = "";
        //    string pfxml = SDKPackageDir + pfname + "\\" + pfversion + "\\MainActivity\\AndroidManifest.xml";
        //    string lbxml = SDKPackageDir + "LeBian\\" + lbversion + "\\MainActivity_LeBian\\AndroidManifest.xml";

        //}



        private void CreateCPSettings(string filePatch, string gid, string pid, int pluginid)
        {
            string SDKPackageDir = "";

            SDKPackageDir = System.Configuration.ConfigurationManager.AppSettings["SDKAndroidPackageConfig"];
            filePatch     = SDKPackageDir + filePatch;
            if (!Directory.Exists(filePatch))
            {
                return;
            }
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic.Add("GameName", gid);
            dic.Add("PlatformName", pid);
            dic.Add("PlugInID", pluginid.ToString());
            DataView dvCpSetting = aideNativeWebFacade.ExecuteStoredProcedureByDataSet("sdk_getPlatformConfigCPSetting", dic).Tables[0].DefaultView;

            String       fileCpSetting = filePatch + "\\CPSettings.txt";
            String       jsonCpSetting = ToJson(dvCpSetting);
            StreamWriter sw            = new StreamWriter(fileCpSetting, false, Encoding.UTF8);

            sw.Write(jsonCpSetting);
            sw.Close();
        }