コード例 #1
0
ファイル: EShopIPReport.aspx.cs プロジェクト: kkwkk/ybyzt
    public void Bind()
    {
        string strwhere = " and 1=1";

        if (ViewState["strwhere"] != null)
        {
            strwhere += ViewState["strwhere"].ToString();
        }
        else
        {
            strwhere += Where();
        }

        LoginLog login = new LoginLog();
        //Pager.RecordCount = login.getDataCount();
        //DataTable dt = login.getData(Pager.PageSize, Pager.StartRecordIndex - 1);

        DataTable dt = login.getDataSet(Returnsql(strwhere));

        this.rtp_loginLog.DataSource = dt;
        this.rtp_loginLog.DataBind();
    }