Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Mike Harris #1
Displaying vertical data
I built a survey that, upon submission creates a record in my MS Sql database. Each record is comprised of 31 fields. I want to use a datagrid to display the data. My challenge is to restructure the data before it is displayed. For example, in my survey I am ranking 31 topics by 1 to 5 using RadioListbutton controls. So the data gets written to the database like so:
id Topic1 Topic2 Topic3 Topic4 Topic5 Topic6 Topic7........
1 5 5 3 2 5 2 1 -->Represents the ranking
2 1 5 5 2 1 4 4
3 4 4 3 5 2 4 5
4 5 5 4 1 3 2 2
When I pull the data out into the datagrid, I want to display it like so:
Topics 5 4 3 2 1
Topic1 190 205 216 139 143 -->represents the number of persons voting
Topic2 207 196 194 115 134
Topic3 199 185 198 114 146
I apologize for being verbose but any help is greatly appreciated.
Mike Harris Guest
-
cfgrid not displaying data
Ask your host to check the CFIDE mapping. I had a similar issue. It should be mapped by default, but sometimes it is not. Hope that helps! -
Data Grid Cell Vertical Scroll Bar. High Importance
Hi guys, i have a problem in asp.net data grid. If u have a solution let m know. Problem is such that i have a data grid with 2 columns. Columns... -
help displaying data
I have a products table that which has 'Product_abbrev', 'SubType' and 'Product'. There is a value for all except 'SubType' - some products are... -
Displaying Foreign Key data
I have a table in a database that refers to both string data and foreign key IDs. When I request information from the table, how do I display the... -
Data Browser vertical alignment problem
We want to use the features of the data browser in an update to our existing C++ project, but I'm stuck on doing vertical alignment. Alignment... -
R. Thomas, aka Xtreme.Net #2
RE: Displaying vertical data
Interesting, I did a similar formatting once, But it would be good if you
could put down your examples properly... I believe curretly its overlapping
cause of the less width??
R.Thomas
"Mike Harris" wrote:
> I built a survey that, upon submission creates a record in my MS Sql database. Each record is comprised of 31 fields. I want to use a datagrid to display the data. My challenge is to restructure the data before it is displayed. For example, in my survey I am ranking 31 topics by 1 to 5 using RadioListbutton controls. So the data gets written to the database like so:
>
> id Topic1 Topic2 Topic3 Topic4 Topic5 Topic6 Topic7........
> 1 5 5 3 2 5 2 1 -->Represents the ranking
> 2 1 5 5 2 1 4 4
> 3 4 4 3 5 2 4 5
> 4 5 5 4 1 3 2 2
>
> When I pull the data out into the datagrid, I want to display it like so:
>
> Topics 5 4 3 2 1
>
> Topic1 190 205 216 139 143 -->represents the number of persons voting
> Topic2 207 196 194 115 134
> Topic3 199 185 198 114 146
>
> I apologize for being verbose but any help is greatly appreciatedR. Thomas, aka Xtreme.Net Guest



Reply With Quote

