Hi,
I have a search system which shows results in REPEATER but, it shows, for
example 80 data item once, but I want to show the results page by page in
groups of 10.
1-10 11-20 21-30 ... etc.
How can I do this?
Note: I bind REPEATER with result DATASET...
Thanks in advance...
E.T. 4 3345
Just limit the number of records that you get in the SQL statement.
SET ROWCOUNT 10
SELECT * FROM mytable
WHERE id>= (put the id of the record that you want to be the base of the 10
rows)
--
Bob Powell [MVP]
Visual C#, System.Drawing
Image transition effects, automatic persistent configuration and
design time mouse operations all in April's issue of Well Formed http://www.bobpowell.net/wellformed.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://royo.is-a-geek.com/siteFeeder...aspx?FeedId=41
"2003et" <e1*****@metu.edu.tr> wrote in message
news:OO**************@TK2MSFTNGP09.phx.gbl... Hi,
I have a search system which shows results in REPEATER but, it shows, for example 80 data item once, but I want to show the results page by page in groups of 10.
1-10 11-20 21-30 ... etc.
How can I do this?
Note: I bind REPEATER with result DATASET...
Thanks in advance...
E.T.
Thank you Bob...
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:uk**************@TK2MSFTNGP11.phx.gbl... Just limit the number of records that you get in the SQL statement.
SET ROWCOUNT 10 SELECT * FROM mytable WHERE id>= (put the id of the record that you want to be the base of the
10 rows)
-- Bob Powell [MVP] Visual C#, System.Drawing
Image transition effects, automatic persistent configuration and design time mouse operations all in April's issue of Well Formed http://www.bobpowell.net/wellformed.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://royo.is-a-geek.com/siteFeeder...aspx?FeedId=41
"2003et" <e1*****@metu.edu.tr> wrote in message news:OO**************@TK2MSFTNGP09.phx.gbl... Hi,
I have a search system which shows results in REPEATER but, it shows,
for example 80 data item once, but I want to show the results page by page
in groups of 10.
1-10 11-20 21-30 ... etc.
How can I do this?
Note: I bind REPEATER with result DATASET...
Thanks in advance...
E.T.
I think this can only work on SQL Server but I use MS ACCESS :(
"2003et" <e1*****@metu.edu.tr> wrote in message
news:en**************@TK2MSFTNGP09.phx.gbl... Thank you Bob...
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message news:uk**************@TK2MSFTNGP11.phx.gbl... Just limit the number of records that you get in the SQL statement.
SET ROWCOUNT 10 SELECT * FROM mytable WHERE id>= (put the id of the record that you want to be the base of the 10 rows)
-- Bob Powell [MVP] Visual C#, System.Drawing
Image transition effects, automatic persistent configuration and design time mouse operations all in April's issue of Well Formed http://www.bobpowell.net/wellformed.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS:
http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://royo.is-a-geek.com/siteFeeder...aspx?FeedId=41
"2003et" <e1*****@metu.edu.tr> wrote in message news:OO**************@TK2MSFTNGP09.phx.gbl... Hi,
I have a search system which shows results in REPEATER but, it shows, for example 80 data item once, but I want to show the results page by page in groups of 10.
1-10 11-20 21-30 ... etc.
How can I do this?
Note: I bind REPEATER with result DATASET...
Thanks in advance...
E.T.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: 2003et |
last post by:
Hi,
I have a search system which shows results in REPEATER but, it shows, for
example 80 data item once, but I want to show the results page by page in
groups of 10.
1-10 11-20 21-30 ... etc....
|
by: Antonio Maciel |
last post by:
Hi.
I have a datatable created at runtime that I want to display using a
repeater control. The problem is that the number of columns of the datatable
can vary. Is there any way to configure the...
|
by: Alan Silver |
last post by:
Hello,
I am just trying out reading an XML file in an ASP.NET page, but am
having a little trouble. I'm sure this is something really obvious and
dumb, but I can't see what ...
I have an XML...
|
by: sorCrer |
last post by:
Hi All,
Posted after extensive searching!
I have a nested repeater control as follows: (Simplified ;-))
<table>
<asp:repeater id=parent onItemDataBound=createChild>
<tr><td>Level...
|
by: Budd |
last post by:
i find some problem on repeater when i want to join 2 same table to 1 table
e.g.
company(id, customerid1, customerid2)
customer(id, name)
and join company to 2 customer...
|
by: William Buchanan |
last post by:
Hi folks
I want to show 2 records on a page side by side. Each record has an image
which will be displayed and a bit of text.
How can I do this?
Thanks
Will
|
by: DotNetDev |
last post by:
I have a datarepeater.
<asp:Repeater id="_quiestionsDataRepeater" runat="server"> <ItemTemplate>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<asp:Label id="Label2"...
|
by: Mirnes |
last post by:
Hello!
How can I show data outside of data controls (gridview, listview
etc.). I want to build CSS menu with data from database table and that
is the reason why I need it outside of any data...
|
by: =?Utf-8?B?Q3lyaWwgR3VwdGEgfCDgpLjgpL/gpLDgpL/gpLIg |
last post by:
Hello,
I have an interesting problem.
I wish to show a set of controls on a form repeatedly. Sort of like an
ASP.Net repeated, but without any data binding (I want to be able to put in
the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |