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

Can't auto refreash the datagridview

Hi,

I have a datagridview with DataSource= Datatable,

The datatable is constructed through DataSet design.
The problem is when I try to add new datatable row with the function
Add<Datatable_name>Row,
the datagridview can't get updated until I resize the UI or call Refresh().

How can I get rid of this?

Thanks in advance

AH
Aug 27 '06 #1
1 1027
Aaron,

That shouldn't be the case. Can you provide a complete, working
example?

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Aaron Ho" <aa********@gmail.comwrote in message
news:e2**************@TK2MSFTNGP05.phx.gbl...
Hi,

I have a datagridview with DataSource= Datatable,

The datatable is constructed through DataSet design.
The problem is when I try to add new datatable row with the function
Add<Datatable_name>Row,
the datagridview can't get updated until I resize the UI or call
Refresh().

How can I get rid of this?

Thanks in advance

AH


Aug 27 '06 #2

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

Similar topics

0
by: DraguVaso | last post by:
Hi, I'm using the DataGridView in VB.NET 2.0. The DataSource is a Generic List of a custom class0: lstMyPersonnes = New List(Of clsPersonne). When I add a new clsPersonne to lstMyPersonnes,...
0
by: Earl Teigrob | last post by:
I am using ASP.NET with C# to dynamically generate photo thumbnail images. When I first load a page of thumbnail images, often one or more images only partialy loaded. When I press refreash,...
1
by: Dave | last post by:
I have a table with 3 fields of which the primary key is a autonumber. I have created my dataadapter, dataset and datagridview using a wizard. However, in the datagrid, the update and delete...
7
by: Mitchell S. Honnert | last post by:
Is there an equivalent of the DataGrid's DataGridTableStyle for the DataGridView? If not, is there an easy way to duplicate the DataGridTableStyle's functionality for the DataGridView? Here's...
1
by: Aaron Ho | last post by:
Hi, I have a datagridview with DataSource= Datatable, The datatable is constructed through DataSet design. The problem is when I try to add new datatable row with the function...
0
by: anthony.gilliam | last post by:
Hi Everyone, I'm loading a windows form dataGridView with a table saved on an .xml doc. The table loads and edits fine. I have other buttons and controls on the form, so I wouldn't like to...
5
by: GS | last post by:
I Google search for answer to detected changes to the current row in detail view of a windows form ( not datagridview), so far I have not got the right search term to get me the answer, certainly I...
1
by: Paul Schwann | last post by:
Hi Group, I am using C# with .NET 2.0 and Visual Studio 2005. I have a GUI with a DataGridView (DGV) and a BindingSource for the data. The data are added programmatically, up to 5 rows per...
3
by: Andrus | last post by:
I have DataGridView in virtual mode containing 3500 rows. In code below, assigning to RowCount value to 3500 takes 8 seconds. CPU usage goes high at this time. Stepping by F11 into user code shows...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.