ADO.NET dataset bindings

  • 17 years ago

    Anyone know who to add a row to a dataset table when using bound control (text boxes etc.) and have them go blank when you call the .AddNew of your binding collection and when calling update have the data inserted instead of running through each textbox manually inserting. What about auto number field ID's and using your own.


    Tried copying from the generated from using Dataform wizard but my code is the same and when I call addnew nothing happes to the textbox display?


    Any help would be appriecated as searching the how to take forever to find anything relivant.


    More Dails: Dataset has 3 tables one master 2 childs. selecting only 1 client from the master table & all realted records to that client from the child tables. want to add new client without having to clear all textboxes & then on update save all textboxes into Row.


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.” - Bill Gates