Esempio n. 1
0
 private void BindImporters()
 {
     this.dropImportVersions.Items.Clear();
     this.dropImportVersions.Items.Add(new System.Web.UI.WebControls.ListItem("-请选择-", ""));
     System.Collections.Generic.Dictionary <string, string> importAdapters = TransferHelper.GetImportAdapters(new YfxTarget("1.2"), "淘宝助理");
     foreach (string current in importAdapters.Keys)
     {
         this.dropImportVersions.Items.Add(new System.Web.UI.WebControls.ListItem(importAdapters[current], current));
     }
 }
Esempio n. 2
0
        private void BindImporters()
        {
            this.dropImportVersions.Items.Clear();
            this.dropImportVersions.Items.Add(new ListItem("请选择插件版本", ""));
            Dictionary <string, string> importAdapters = TransferHelper.GetImportAdapters(new YfxTarget("1.2"), "淘宝助理");

            foreach (string key in importAdapters.Keys)
            {
                this.dropImportVersions.Items.Add(new ListItem(importAdapters[key], key));
            }
        }
        private void BindImporters()
        {
            this.dropImportVersions.Items.Clear();
            this.dropImportVersions.Items.Add(new ListItem("-请选择-", ""));
            Dictionary <string, string> importAdapters = TransferHelper.GetImportAdapters(new YfxTarget("1.2"), "拍拍助理");

            foreach (string str in importAdapters.Keys)
            {
                this.dropImportVersions.Items.Add(new ListItem(importAdapters[str].Replace("4.0", "2013"), str));
            }
        }
Esempio n. 4
0
        private void BindImporters()
        {
            dropImportVersions.Items.Clear();
            dropImportVersions.Items.Add(new ListItem("-请选择-", ""));
            Dictionary <string, string> importAdapters = TransferHelper.GetImportAdapters(new YfxTarget("1.2"), "Hishop");

            foreach (string str in importAdapters.Keys)
            {
                dropImportVersions.Items.Add(new ListItem(importAdapters[str], str));
            }
        }