Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 17th, 2004, 10:54 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Is there a reason you can't use some of the suggestions that have already been made? Is there a reason you can't use a datagrid? A datagrid outputs an HTML table. It will do all the work for you.
 
Old August 18th, 2004, 04:28 AM
ham ham is offline
Authorized User
 
Join Date: Aug 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that's company requirenment

waiting for reply

 
Old August 18th, 2004, 09:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Ham-

Are you aware the output of a datagrid is nothing more than an HTML table? Perhaps you should look into the controls availible to you rather than re-spinning things.

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old August 18th, 2004, 03:40 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Ham- can you further define this company requirement? I have never heard of a company requirement dictating what HTML you can use. Perhaps the company needs to have a better understanding of the technology they are trying to use.

It sounds like they are willing to use a porche, but instead of running it with the engine that is built it, they'd rather pull it with a donkey.
 
Old August 18th, 2004, 04:04 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Ham,

Even if you can't or are not allowed to use the DataGrid control, what's wrong with the article about paging with the Repeater and DataLists controls? A Repeater does *not* output any HTML, other than that you specify for each item. It's pretty much the same as old skool looping through a recordset, Response Writing your HTML, except that the Repeater offers you a nice, programmatic interface.

If you're not willing to investigate links / solutions like this, I am afraid you'll be waiting for an answer indefinitely....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old August 19th, 2004, 12:29 AM
ham ham is offline
Authorized User
 
Join Date: Aug 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

imar

can u tell how to implement paging using repeator or datalist control



 
Old August 19th, 2004, 12:49 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

How many times do you want an answer to this questions?

Follow the first link I posted.....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old August 19th, 2004, 05:40 AM
ham ham is offline
Authorized User
 
Join Date: Aug 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi

do u talk of this link

http://www.devhood.com/tutorials/tut...tutorial_id=97

but i want to implement that using datareader


 
Old August 19th, 2004, 08:00 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

my dear,if u still insist on using datareader use the method Peter mentioned
Quote:
quote:
But in either case, you are still only using a forward-only data source (the datareader). So when you go "back" a page you are technically only going forward n-1 pages from where you were (n).
although its better use other ways.



--------------------------------------------
Mehdi.:)
 
Old August 19th, 2004, 08:21 AM
ham ham is offline
Authorized User
 
Join Date: Aug 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

which method by peter






Similar Threads
Thread Thread Starter Forum Replies Last Post
URGENT plz do reply maheshoo7 PHP How-To 1 June 26th, 2007 10:20 AM
give me urgent reply asudhakar C# 1 April 9th, 2007 06:35 AM
give me urgent reply asudhakar C# 1 March 30th, 2007 07:55 AM
urgent reply required uitian123 Crystal Reports 0 August 19th, 2005 12:48 AM
Urgent reply needed. hums VS.NET 2002/2003 1 October 2nd, 2004 10:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.