Esempio n. 1
0
        protected override void OnLoad(EventArgs e)
        {
            var blacklist = GetList();

            Blacklist.DataSource = blacklist;
            Blacklist.DataBind();

            if (IsPostBack)
            {
                return;
            }

            var output = new StringBuilder();

            foreach (var url in blacklist)
            {
                output.AppendLine(url);
            }

            FormList.Text = output.ToString();
        }