473,382 Members | 1,332 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,382 software developers and data experts.

Data from database

Hi

I'm devellopping an application in c# that shows in a grid
(DataGridView???) the content of a database table (MySQL database).
This table can contain a lot of records (more then 100.000); this
records are written by another process.

1) What is the best way to mantain synchronized my grid and the real
content of table?
2) One column of my grid will be a button; the visibility of each
button depends from the value of a table field, how can I do it?
3) At the moment I'm developping with VisualStudio2005 .NET Framework
2.0, but I have the possibility to develop also with
VisualStudio2008 .NET Framework 3.5; there is a good reason to change
my environment?

Thank,
Alessio
Jun 27 '08 #1
1 964
On Jun 25, 10:26*am, "alessio...@gmail.com" <alessio...@gmail.com>
wrote:
Hi

I'm devellopping an application in c# that shows in a grid
(DataGridView???) the content of a database table (MySQL database).
This table can contain a lot of records (more then 100.000); this
records are *written by another process.

1) What is the best way to mantain synchronized my grid and the real
content of table?
You have to use a pagination mechanism. 100K records in one page is
too much.
I guess that the records are written @ the end, so you should be ok
2) One column of my grid will be a button; the visibility of each
button depends from the value of a table field, how can I do it?
use the ItemDataBound event. there you can hide/show the controls
based on the row
3) At the moment I'm developping with VisualStudio2005 .NET Framework
2.0, but I have the possibility to develop also with
VisualStudio2008 .NET Framework 3.5; there is a good reason to change
my environment?
It's irrelevant for this case
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access...
1
by: Johann Blake | last post by:
I am looking for a good solution on how to implement data access in an application so that there is a clean separation between the data access layer, the business layer and the GUI layer. I am...
5
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1....
0
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.