コード例 #1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            ForumPage.AssignButtonTextboxEnterKey(tbWords, btnSearch);

            if (!IsPostBack)
            {
                Cn.Open();
                ListItem lstEverywhere = new ListItem(Resources.various.Everywhere, "");
                lstEverywhere.Attributes.Add("style", "color:#777777");
                ddlForum.Items.Add(lstEverywhere);
                BindForumsListRecursive(0, 0);
                Cn.Close();
            }
        }