What Should I use?

  • Thread starter Thread starter Mr. B
  • Start date Start date
M

Mr. B

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
 
Hello,

Mr. B said:
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 would use a DataGrid because the ListView doesn't allow editing of
subitems.
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...

Why don't use a database?

Regards,
Herfried K. Wagner
 
Herfried K. Wagner said:
one to use?)

I would use a DataGrid because the ListView doesn't allow editing of
subitems.

Okay... Thanks
Why don't use a database?

'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
 
Hello,

Mr. B said:
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?

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/microsoft.public.dotnet.framework.adonet

HTH,
Herfried K. Wagner
 
Herfried K. Wagner said:
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:

Okay... thanks!

Bruce
 
Back
Top