Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Add, Edit, Delete, Cancel Records
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00724368
Message ID:
00725292
Vues:
24
Adding a DataBinding does not add a new DataRow to your DataTable, you must do that separately. Before you set the databindings, create your new row, add it to the DataTable.

>Ohh sorry I forgot on thing,
>
>I am binding my form textbox to my DataSet as follow:
>*** Me.txtBankName_e.DataBindings.Add("Text", myDS.Tables("Bank").DefaultView, "BankName_e")
>
>Then I change the textbox with some text, when I check the DataAdapter status it shows 0, am I missing something:
>*** MsgBox(myDA.Update(myDS, "Bank"))
>
>Thanks again
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform