Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid C# - Fitting on one page (widthwise) 2

Status
Not open for further replies.

Guru7777

Programmer
Dec 10, 2003
331
US
Okay. I have a dataset that has like 20 columns. I need to display the data to the user, without having them scroll horizontally. I don't want to databind a ton of textboxes. I thought about a paging bar, but it seems like that is just for displaying many records, not a record with many columns.

Does anyone have suggestions for how I should solve my problem?
 
Are all 20 columns really needed?

If so, maybe organize a template column in both columns and rows so that the information can be placed in a readable format (make sense? I'm just working on my first coffee right now...)

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
I haven't had any coffee, so that confused me a little bit. All of the columns are needed because they are all of the information that my company can say about an employee.

For instance... Name, Supervisor, Manager, Hire Date, Payroll ID, Phone Number, Home Phone, Teller ID, Vacation Group, Quality Coach, Status, Title, Location, Management Unit, Phone ID, etc.

Ah, large companies.
 
You could make it into a few template columns with more than one field in each column. This would allow you to have more than one row within the row.

Why don't you want to bind the data? It doesn't take that much code to do it.

Hope everyone is having a great day!

Thanks - Jennifer
 
Thanks guys, I will try working on what you have suggested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top