What Should I use?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mr. B

    What Should I use?

    If I want to have many rows (say 100) and about 20 columns of data, and be
    able, via a double click on a 'cell' to change the 'cell' text (say In to Out)
    and it's background colour (Red to Green)... and vis-versa...

    What should I use... a ListView or Datagrid? (or maybe there is another one
    to use?)

    I'll be wanting to open a file (TXT type) full of the data... and from that
    display on the 'grids' the data...

    Then a User can modify the data (and file) via the double click...

    But haven't used either of the one's above... not sure what is best. I've
    tried to 'build' such a beast... but the display is slooowwwwww. (ie: you can
    see the form being built item by item...

    Some sample code of the being able to click on a cell and change it would be
    super.

    Thanks!

    Bruce
  • Herfried K. Wagner [MVP]

    #2
    Re: What Should I use?

    Hello,

    "Mr. B" <NotReal@addres s.bot> schrieb:[color=blue]
    > If I want to have many rows (say 100) and about 20 columns
    > of data, and be able, via a double click on a 'cell' to change the
    > 'cell' text (say In to Out) and it's background colour (Red to
    > Green)... and vis-versa...
    >
    > What should I use... a ListView or Datagrid? (or maybe there is another[/color]
    one[color=blue]
    > to use?)[/color]

    I would use a DataGrid because the ListView doesn't allow editing of
    subitems.
    [color=blue]
    > I'll be wanting to open a file (TXT type) full of the data... and from[/color]
    that[color=blue]
    > display on the 'grids' the data...
    >
    > Then a User can modify the data (and file) via the double click...[/color]

    Why don't use a database?

    Regards,
    Herfried K. Wagner
    --
    MVP · VB Classic, VB .NET
    Die Website von H. Wagner zu .NET, Visual Basic .NET, Classic Visual Basic, Webentwicklung und mehr.



    Comment

    • Mr. B

      #3
      Re: What Should I use?

      With Deft Fingers, "Herfried K. Wagner [MVP]" <hirf.nosp@m.ac tivevb.de> wrote:
      [color=blue][color=green]
      >> What should I use... a ListView or Datagrid? (or maybe there is another[/color]
      >one to use?)
      >
      >I would use a DataGrid because the ListView doesn't allow editing of
      >subitems.[/color]

      Okay... Thanks
      [color=blue][color=green]
      >> Then a User can modify the data (and file) via the double click...[/color]
      >
      >Why don't use a database?[/color]

      'cause I've never used one before (:

      The 'info' saved will be:
      User name (x 100)
      100 inputs of '1' or '0'
      10 inputs of Text

      Rather simple so I figured that a TXT file was easiest (for me).

      BUT... having said that, would a MDB (or XLS) be better for when several users
      enter data at the same (similar) time? I don't expect constant data entry...
      but there will be times when one user is entering data (albeit very fast
      input). Any recommendations ?

      Thanks

      Bruce

      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: What Should I use?

        Hello,

        "Mr. B" <NotReal@addres s.bot> schrieb:[color=blue]
        > BUT... having said that, would a MDB (or XLS) be better for when several[/color]
        users[color=blue]
        > enter data at the same (similar) time? I don't expect constant data[/color]
        entry...[color=blue]
        > but there will be times when one user is entering data (albeit very fast
        > input). Any recommendations ?[/color]

        I think using a DBMS will solve most of the problems. If you have questions
        on how to access a database and on choosing the right DBMS for your purpose,
        turn to the newsgroup for .NET+database (ADO .NET) questions:

        news://msnews.microsoft.com/microsof...amework.adonet

        HTH,
        Herfried K. Wagner
        --
        MVP · VB Classic, VB .NET
        Die Website von H. Wagner zu .NET, Visual Basic .NET, Classic Visual Basic, Webentwicklung und mehr.



        Comment

        • Mr. B

          #5
          Re: What Should I use?

          With Deft Fingers, "Herfried K. Wagner [MVP]" <hirf.nosp@m.ac tivevb.de> wrote:
          [color=blue]
          >I think using a DBMS will solve most of the problems. If you have questions
          >on how to access a database and on choosing the right DBMS for your purpose,
          >turn to the newsgroup for .NET+database (ADO .NET) questions:[/color]

          Okay... thanks!

          Bruce

          Comment

          Working...