Needing some queries in ado.net

databases United States
  • 12 years ago

    if someone can give me following queries:-
    1-)how to enter new data from a form designed in vb.net to the database
    2-)how to update data from a form designed in vb.net to the database
    3-)how to take sums of columns fromt eh database and storing it int eh variable

  • 12 years ago

    Use Dataadapter.Update() method for updating your database from front end it may be insert, delete or update.
    go through the  article for more information
    http://www.dbazine.com/sql/sql-articles/cook5

Post a reply

Enter your message below

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.

“Weeks of coding can save you hours of planning.”