HELP:Need add/update code example

  • Thread starter Thread starter BigUn
  • Start date Start date
B

BigUn

Just making the transition from VB6 to .net. I've been thru the ado.net course but still am reaching. I have a project that MUST be done quickly and MUST be in vb.net. It's a simple routine that downloads some fixed-length data files then updates a database. Specifically, I'm having trouble with the code that checks for an existing record (based on an account ID). If the record doesn't exist, then it needs to add a new record and populate the rest of the columns. If the record does exist then just populate the rest of the columns.

Please help me to stop beating me head upon the wall with a few code samples, please?

Thanks in advance.

(an email copy to (e-mail address removed) would be great also)
 
I found a lot, and I mean a LOT of examples on the web when I was in your situation. email me if you can't find anything. Do a search using keywords C# .net ado DbConcurrency. You should get what you want
 
Back
Top