Example #1
0
    private DataSet GetDataGridSource()
    {
        string where = "CompanyID=" + CompanyID;


        DataSet ds = PatchBLL.GetPatchPagingitems(this.PagingControl1.ListRecordNumPerPage, this.PagingControl1.CurrentPage, where);

        return(ds);
    }
Example #2
0
    private void GetTotalRecords()
    {
        string where = "CompanyID=" + CompanyID;


        TotalRecords = PatchBLL.GetPatchTotalItems(where).ToString();

        PagingControl1.TotalRecords = int.Parse(TotalRecords);
    }