示例#1
0
        private void BuildDdlTypeConfigurableEvents()
        {
            List <string> listTypeEventConf = ws.GetTypeConfigurableEvents(ID_ADMINISTRATION).ToList();

            if (listTypeEventConf != null && listTypeEventConf.Count > 0)
            {
                ddlTypeEvent.Items.Clear();
                foreach (string eventType in listTypeEventConf)
                {
                    string[] tmp = eventType.Split(new string[] { "#" }, 2, StringSplitOptions.None);
                    ddlTypeEvent.Items.Add(new ListItem()
                    {
                        Value = tmp[0].Trim(), Text = tmp[1].Trim()
                    });
                }
                pnlAssertion.Update();
            }
        }