Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Displaying Data

Author  Topic 

Iain Duthie
Starting Member

17 Posts

Posted - 2005-02-14 : 11:50:47
Is there any way of displaying data in a set way other than using a datagrid?

Cheers
Iain

ehorn
Master Smack Fu Yak Hacker

1632 Posts

Posted - 2005-02-14 : 12:48:17
Presenting data is not a set-based process. You must iterate over the record(s).
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-02-14 : 13:12:06
and what "other" way do you have in mind??

Go with the flow & have fun! Else fight the flow
Go to Top of Page

Auric
Yak Posting Veteran

70 Posts

Posted - 2005-02-14 : 21:18:43
There are many ways of viewing data, without proper information we can't help...
Ex. What programming language do you want to use?

Select * from users where clue > 0
Go to Top of Page

MichaelP
Jedi Yak

2489 Posts

Posted - 2005-02-14 : 21:25:57
The only other way I know is to use the Data Repeater.

Advantages
1. Faster (less bloat)
2. More Control of the content

Disadvantages
1. You have to write more code to get data out

I know there are some more advantages and disadvantages, but I can't think of them right now. The datagrid and datarepeater are similar to the dataset and the datatable. One can do more than the other, but you pay for the ease of use with performance.

Michael

<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

Iain Duthie
Starting Member

17 Posts

Posted - 2005-02-15 : 05:25:59
I am using C#. At the moment all the data is displayed in a grid and it is not very pleasing on the eye. Also there is a lot of data to be displayed. I was wanting to display them a record at a time and I could skip through all the files. Would this be possible?

Cheers
Iain.
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-02-15 : 09:37:19
aaa so you want to implement paging, no? use server side paging: http://weblogs.sqlteam.com/jeffs/archive/2004/03/22/1085.aspx
and put some colors on a grid? use template columns.

Go with the flow & have fun! Else fight the flow
Go to Top of Page
   

- Advertisement -