Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brunoocasali/pagination-.net

This is a simple WebUserControl to give to you a pagination of your data.
https://github.com/brunoocasali/pagination-.net

Last synced: about 23 hours ago
JSON representation

This is a simple WebUserControl to give to you a pagination of your data.

Awesome Lists containing this project

README

        

Pagination.NET
==============

This is a simple WebUserControl to give to you a pagination of your data.

How to use:

1° First copy the `web.config` content to your `web.config` file:
```xml







```
2° Create a new web form called `something.aspx`

3° Add this code to him ``

It maybe seems like this:
```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Something.aspx.cs" Inherits="Something" %>

Awesome html tables now!!





```

4° In the code behind you need to insert the code reference at your classes and methods.
It maybe seems like this either:

```c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Something : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
uc.TotalPerPage = 20; //20 - 20, in other words, pages with 20 rows!
uc.Total = 1000; // Total of your list!
}
}
```

And save and start your ISS server! :D
I'll be improve the code, so help me fork this repo!