473,395 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
Jul 19 '05 #1
4 1515
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
12
by: Dario | last post by:
The following simple program behaves differently in Windows and Linux . #include <stdexcept> #include <iostream> #include <string> using namespace std; class LogicError : public logic_error {...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.