Hint: Try to make a method that take start index, end index and datatable.
public DataTable paging ( int start_index, int end_index, DataTable dt)
{
// Whatever data we want to show on page is copied from a datatable (that is to be filled) to another datatable.
// This method will return a datatable that will contain the data according to start index and end index
}
Note : Please dont use any stored procedure.
public DataTable paging ( int start_index, int end_index, DataTable dt)
{
// Whatever data we want to show on page is copied from a datatable (that is to be filled) to another datatable.
// This method will return a datatable that will contain the data according to start index and end index
}
Note : Please dont use any stored procedure.