Results 1 to 6 of 6

Thread: Not sure what to use for view output

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2010
    Posts
    133

    Not sure what to use for view output

    What should I use and how to use something that functions like a label box but can handle several columns and columns? Something that looks like this.
    Code:
    ----------------------------------------------
    |Name               |Age         |Birthday    |
    |        a          |      f    |      k      |
    |        b          |     g     |      l      |
    |        c          |     h     |     m       |
    |        d          |     i     |      n      |
    |         e         |     j     |      o      |
    ----------------------------------------------
    Name | Age | Birthday are headers and the letters are variables

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Not sure what to use for view output

    Hmmm... several columns AND columns? That's a tricky one. But seriously, don't use a Label. If you have tabular data then use a control that's made to display tabular data, i.e. a ListView or DataGridView.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2010
    Posts
    133

    Re: Not sure what to use for view output

    Yeah. I know I can't use Label for this. I tried to google listview but I can't find any guide for beginners.

  4. #4
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Not sure what to use for view output

    Or Multiple Label controls inside the Table Layout Panel Control
    Please mark you thread resolved using the Thread Tools as shown

  5. #5
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Not sure what to use for view output

    Hope this helps
    Please mark you thread resolved using the Thread Tools as shown

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jan 2010
    Posts
    133

    Re: Not sure what to use for view output

    I'll try it out later. thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width