public void InitControl()
    {
        BaseCollection c = new BaseCollection(UData.ToTable2("CategoryTask", "TaskID"));
        BaseItem i = null;

        i = c.NewItem();
        c.Add(i);
        i.SetColumn(0, TaskE.SearchItem.ToString("d"));

        if (UWeb.IsAuthenticated)
        {
            bool show = true;

            if (Cxt.Service.ServiceTypeID == ServiceTypeE.Membership)
            {
                if (UWeb.UserID != 1)
                {
                    show = false;
                }
            }

            if (show)
            {
                i = c.NewItem();
                c.Add(i);
                i.SetColumn(0, TaskE.NewItem.ToString("d"));

                i = c.NewItem();
                c.Add(i);
                i.SetColumn(0, TaskE.MyItem.ToString("d"));
            }
        }

        gv1.DataSource = c.DataTable;
        gv1.DataBind();
    }