LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-30-2012, 12:41 PM   #1
l_long_island
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Rep: Reputation: 0
Repeating Columns Visual Studio .Net 4.0 C# Windows Forms


Hello All,
I am using C# and Visual Studio .Net 4.0 and am writing a program (not a web page) for a Windows 7 environment. I would like to display data on a Window’s form in the following manner (basicallly a repeating columns format)

Title1 Title2 Title1 Title2
Data1 Data1a Data4 Data4a

Data2 Data2a Data5 Data5a

Data3 Data3a Data6 Data6a


Which would be the best tool to use to accomplish such a layout: datagrid, dataview, datalist etc.

I’m pretty sure this can be accomplished via a brute force approach using for loops to arrange the label/data but am hoping a more elegant approach can be used (i.e specifying the column length). After searching forums I have noticed a “repeater” construct but I don’t think this is available in the Visual Studio 2010 C# toolbox.

There will be approximately 13 rows of data and six columns in the actual program If worse comes to worst, maybe I should just set up a form of text boxes with labels .

Any insights would be appreciated
Thanks,
L_long_island

Last edited by l_long_island; 12-31-2012 at 11:00 AM. Reason: made table simpler
 
  


Reply

Tags
columns, forms, repeated, toolkit


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio.NET in Linux RySk8er30 Linux - Software 3 05-27-2009 04:11 PM
MS Visual Studio .NET in Linux? cootetom Linux - Software 1 03-03-2007 03:04 PM
e-commerce practice visual studio .net? ati General 1 06-03-2006 09:23 AM
visual studio.net M O L8ingN2dust Linux - Software 3 11-17-2005 10:10 PM
Free Windows XP and Visual Studio .Net redhatman Linux - General 1 10-13-2004 08:35 PM


All times are GMT -5. The time now is 10:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration