Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataBinding without Tabbing Out
Message
De
30/05/2003 16:09:12
 
 
À
30/05/2003 15:33:39
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00794715
Message ID:
00794730
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Here is something I use:
Me.BindingContext(DataSet1, "Table1").EndCurrentEdit()
You can test it by putting this code as first row into Timer controls' Tick event. Set Interval of the timer to 5000 and add second row, which reads current record:
MessageBox.Show(CType(Me.BindingContext(DataSet1, "Table1").Current, DataRowView).Row("SomeField").ToString())
If you change content of the control, which is bound to "SomeField" (TextBox, for example), when MessageBox pop-ups, it will show new value.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform