Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
how do i display a recordset in a grid
Old 04-30-2006, 08:02 PM how do i display a recordset in a grid
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
i would like to display a recordset in a grid. I am using dreamweaver mx and access. basically at the moment i can display the recordset in a column using repeat region but i would like to have insert the variables from the recordset into the top lefthand corner of the grid and then have a different record displayed in each square in the grid.
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-30-2006, 10:35 PM Re: how do i display a recordset in a grid
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Can you sketch out what you mean, or maybe come up with a static URL? I'm not following.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-01-2006, 07:24 AM Re: how do i display a recordset in a grid
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
this is a screengrab of what im trying to achieve

redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
Old 05-01-2006, 07:43 AM Re: how do i display a recordset in a grid
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
relatively easy with CSS and floats, a real PITA with tables

fixed width grid?
fixed width display?
fixed count across?

I'll extract and write up the code that I use on my catalogue site if that's the kind of thing you want

(as seen on blooberi lingerie) Lingerie site BTW
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-01-2006, 07:56 AM Re: how do i display a recordset in a grid
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
yep thats the sort of thing i was looking for
many thanks
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
Old 05-02-2006, 06:26 AM Re: how do i display a recordset in a grid
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
Quote:
Originally Posted by chrishirst
relatively easy with CSS and floats, a real PITA with tables
I am ok with using css but what are floats and how do you do what im after using css and floats?
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
Old 05-02-2006, 10:48 AM Re: how do i display a recordset in a grid
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
It would actually be kind of difficult to do. I haven't seen a good cross-browser grid example that uses CSS and floats (divs).

You'd have divs defined something like this though:
[code]
.gridrow {
clear: left;
}
.gridcol {
float: left;
height: 100px; /* You need this part or it doesn't work. That's what makes my example a bad one...if the person resizes text in FF or something and the height becomes greater than 100px, there are issues. */
width: 160px;
}
Code:
<div class="gridrow">
     <div class="gridcol">...</div>
     <div class="gridcol">...</div>
     <div class="gridcol">...</div>
     <div class="gridcol">...</div>
</div>
Lather, rinse, repeat.

I haven't seen a better way to do it myself, although I'd like to personally.

(For those about to suggest table-row and table-cell, IE6 and before don't support them so that's why they don't really apply, I don't think.)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)

Last edited by ADAM Web Design; 05-02-2006 at 10:50 AM..
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to how do i display a recordset in a grid
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.57032 seconds with 12 queries