Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. better way to collect large amount of data from vb.net 2005

better way to collect large amount of data from vb.net 2005

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andraw Tang
    wrote on last edited by
    #1

    Dear all, In my program using vb.net, it involves a lots of data (about 300), when generate report, we don't need to list all, so user need to choose from these data for output to report. These 300 data is divided into 30 table, I am look for a better way to organize these data. At first I am thinking create an excel file that list all these data, one in a row, and next to the data create a checkbox, protect all except the checkbox, so when user click "Select Output List", I will launch the excel, let user select data, save and close it, then from my program I will read the selection from excel file, but the clients don't like it. They don't want extra file. they want everything is inside the VB form. I am new to VB.net, is there better way let me handle this issue? Thanks!

    L 1 Reply Last reply
    0
    • A Andraw Tang

      Dear all, In my program using vb.net, it involves a lots of data (about 300), when generate report, we don't need to list all, so user need to choose from these data for output to report. These 300 data is divided into 30 table, I am look for a better way to organize these data. At first I am thinking create an excel file that list all these data, one in a row, and next to the data create a checkbox, protect all except the checkbox, so when user click "Select Output List", I will launch the excel, let user select data, save and close it, then from my program I will read the selection from excel file, but the clients don't like it. They don't want extra file. they want everything is inside the VB form. I am new to VB.net, is there better way let me handle this issue? Thanks!

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      why would you need an external program to do part of the overall job? can't you just show the data and the checkboxes on a Form (maybe using a DataGridView, a ListBox, or whatever Control you like), let the user select the data items, and proceed? :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

      A 1 Reply Last reply
      0
      • L Luc Pattyn

        why would you need an external program to do part of the overall job? can't you just show the data and the checkboxes on a Form (maybe using a DataGridView, a ListBox, or whatever Control you like), let the user select the data items, and proceed? :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

        A Offline
        A Offline
        Andraw Tang
        wrote on last edited by
        #3

        Luc, Thank you for your quick reply. I have 30 tables, If I use DataGridView to display them, can I merge some rows to make it looks like that the data is grouped by talbe? and also did you mean put all the 300 data in a DataGridView with a scrollbar? I also think about this, but I thought it's too crowded. Can you give me more explaination? Thanks!

        D L 2 Replies Last reply
        0
        • A Andraw Tang

          Luc, Thank you for your quick reply. I have 30 tables, If I use DataGridView to display them, can I merge some rows to make it looks like that the data is grouped by talbe? and also did you mean put all the 300 data in a DataGridView with a scrollbar? I also think about this, but I thought it's too crowded. Can you give me more explaination? Thanks!

          D Offline
          D Offline
          David Mujica
          wrote on last edited by
          #4

          Does the data have logical groupings like Contact Info, Employment History, Certifications, etc ? You could then use the Tabbed interface to create tabs on your form which would display the logically grouped items.

          A 1 Reply Last reply
          0
          • D David Mujica

            Does the data have logical groupings like Contact Info, Employment History, Certifications, etc ? You could then use the Tabbed interface to create tabs on your form which would display the logically grouped items.

            A Offline
            A Offline
            Andraw Tang
            wrote on last edited by
            #5

            Yes, they are grouped by functionality. But there are 30 tables, if use tab, they should occupy at least 3 rows, it looks not good, right?

            1 Reply Last reply
            0
            • A Andraw Tang

              Luc, Thank you for your quick reply. I have 30 tables, If I use DataGridView to display them, can I merge some rows to make it looks like that the data is grouped by talbe? and also did you mean put all the 300 data in a DataGridView with a scrollbar? I also think about this, but I thought it's too crowded. Can you give me more explaination? Thanks!

              L Offline
              L Offline
              Luc Pattyn
              wrote on last edited by
              #6

              I cannot decide what it is you want, you should, or your customer. Does the user need to see the content of a table in order to decide he wants to include it in the report? or is it just choosing tables from their table names? etc. :)

              Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

              Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

              A 1 Reply Last reply
              0
              • L Luc Pattyn

                I cannot decide what it is you want, you should, or your customer. Does the user need to see the content of a table in order to decide he wants to include it in the report? or is it just choosing tables from their table names? etc. :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

                A Offline
                A Offline
                Andraw Tang
                wrote on last edited by
                #7

                User will choose columns from these tables. so we need to list all columns in each table.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups