Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

Changes values in data adapter before updating dataset

Hello,

I have a data bind form which creates a strong-typed dataset. At one point I call:
tblMyAdapter.Update(MyDataset)
MyDataSet.AcceptChanges()

Now I want to change the value in one field before I call the update and acceptchanges method. How do I do this? I think there is some way of looking at the newly entered data by the user before the changes can be pushed to the database. Note I am using vb.net 3.5

Regards,
MI
0
vj_mi
Asked:
vj_mi
  • 2
1 Solution
 
DhaestCommented:
You can do it directly.
Easy example:
ds.Tables(0).Rows(0)("ID") = "1"
0
 
DhaestCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now