Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to update grid
Message
De
26/01/2008 16:13:01
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Trying to update grid
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01285828
Message ID:
01285828
Vues:
66
I have a mmDataGridView on a form. Its BindingSource is a table in SQL Server.

A record in this table is created programatically by code and not through a MM button. It is related to my main table.

When a record is added or updated by code, the grid doesn't change it's data.

If I move to the previous record of the main table and then back to the next record the grid changes its data.

I can't seem to get the grid to be updated by code in my program.

Does anyone have the VB code to update the grid programmatically?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform