By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,471 Members | 722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,471 IT Pros & Developers. It's quick & easy.

What Should I use?

P: n/a
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
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello,

"Mr. B" <No*****@address.bot> schrieb:
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
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet
Jul 19 '05 #2

P: n/a
With Deft Fingers, "Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote:
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.


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


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
Jul 19 '05 #3

P: n/a
Hello,

"Mr. B" <No*****@address.bot> schrieb:
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/microsof...amework.adonet

HTH,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet
Jul 19 '05 #4

P: n/a
With Deft Fingers, "Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote:
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
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.