Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Generate a table like structure from a database.

Reply
Thread Tools

Generate a table like structure from a database.

 
 
Mufasa
Guest
Posts: n/a
 
      05-07-2007
I'm at a loss here - I'm trying to create a table type structure from a
dataset. I've got say 18 records and I want to display a specific piece of
information from each record but I'd like to display it in a table format -
say 5 columns wide and there would be four rows.

I know this is easy I just don't know which control to use. So if I wanted
to do animals names it would create something like:

penguins bears antelop racoons tigers
wombats bats caribu

......


You get the idea.

TIA - Jeff

(who appears to be having a brain fart.....)



 
Reply With Quote
 
 
 
 
Jon Paal [MSMD]
Guest
Posts: n/a
 
      05-07-2007
look here for examples:

http://msconline.maconstate.edu/tuto...20/default.htm

see "section 7, information display controls"


"Mufasa" <> wrote in message news:...
> I'm at a loss here - I'm trying to create a table type structure from a dataset. I've got say 18 records and I want to display a
> specific piece of information from each record but I'd like to display it in a table format - say 5 columns wide and there would
> be four rows.
>
> I know this is easy I just don't know which control to use. So if I wanted to do animals names it would create something like:
>
> penguins bears antelop racoons tigers
> wombats bats caribu
>
> .....
>
>
> You get the idea.
>
> TIA - Jeff
>
> (who appears to be having a brain fart.....)
>
>
>



 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      05-08-2007
DataList. Look at RepeatColumns property.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Mufasa" <> wrote in message
news:...
> I'm at a loss here - I'm trying to create a table type structure from a
> dataset. I've got say 18 records and I want to display a specific piece of
> information from each record but I'd like to display it in a table
> format - say 5 columns wide and there would be four rows.
>
> I know this is easy I just don't know which control to use. So if I wanted
> to do animals names it would create something like:
>
> penguins bears antelop racoons tigers
> wombats bats caribu
>
> .....
>
>
> You get the idea.
>
> TIA - Jeff
>
> (who appears to be having a brain fart.....)
>
>
>



 
Reply With Quote
 
Mufasa
Guest
Posts: n/a
 
      05-08-2007
Thanks everybody. That worked great!

"Eliyahu Goldin" <> wrote in
message news:...
> DataList. Look at RepeatColumns property.
>
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "Mufasa" <> wrote in message
> news:...
>> I'm at a loss here - I'm trying to create a table type structure from a
>> dataset. I've got say 18 records and I want to display a specific piece
>> of information from each record but I'd like to display it in a table
>> format - say 5 columns wide and there would be four rows.
>>
>> I know this is easy I just don't know which control to use. So if I
>> wanted to do animals names it would create something like:
>>
>> penguins bears antelop racoons tigers
>> wombats bats caribu
>>
>> .....
>>
>>
>> You get the idea.
>>
>> TIA - Jeff
>>
>> (who appears to be having a brain fart.....)
>>
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Auto-generate GUI from a database table structure Boyd, Craig1 Python 0 07-21-2009 12:52 PM
how to generate html table from "table" data? petr.jakes.tpc@gmail.com Python 9 12-28-2007 09:44 AM
How to generate data driven HTML Table like CrossTab Kamal Ahmed ASP .Net 0 06-28-2006 02:00 PM
object-like macro used like function-like macro Patrick Kowalzick C++ 5 03-14-2006 03:30 PM
How to generate variable labels for same component within a generate loop Weng Tianxiang VHDL 5 02-16-2006 01:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57