Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Add, Edit, Delete, Cancel Records
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00724368
Message ID:
00725292
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform