Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to refresh a datagridview?
Message
De
02/11/2007 15:07:33
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
02/11/2007 14:56:41
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01266176
Message ID:
01266181
Vues:
11
I got it to work this way:
// Get inserted data
dsPolicyNotes = oPolicyNotesBiz.GetNotes(PolID);

// refresh the grid to reflect inserted record
// I do not know if this is the best way, but it works
grdPolicyChangesNotes.ReadOnly = true;
grdPolicyChangesNotes.DataSource = dsPolicyNotes;
grdPolicyChangesNotes.DataMember = "PolicyNotes";
Sergio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform