Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        string strStartIndex = Request["s"];
        int    StartIndex;

        Int32.TryParse(strStartIndex, out StartIndex);
        if (StartIndex == 0)
        {
            StartIndex = 1;
        }
        BOLNews NewsBOL = new BOLNews();

        rptNews.DataSource = NewsBOL.GetList(StartIndex, 25000);
        rptNews.DataBind();
    }