how modify table adapter update and insert

  • Thread starter Thread starter fanor
  • Start date Start date
F

fanor

I generated using the designer the fill and GetData methods for a table,
including delete, insert, and update.

I want to customize the insert and update command. How can i do that??
I tried from the designer but I couldn't figured it out.

Thanks a lot guys.
 
Fanor,

The designer generated code from version 2002/2003 and version 2005 is
completely different and therefore is it at least very difficult to help you
as you don't tell which version and program language and what database you
are using.

See here how you can create yourself insert/delete/update commands for a non
generated dataset for SQLServer (OleDB is as well on our website)

http://www.vb-tips.com/dbPages.aspx?ID=3405596d-4556-4aa8-be12-d7c12bbb3726

I hope this helps,

Cor
 
I'm using vs2005, c#, and access database.

Cor Ligthert said:
Fanor,

The designer generated code from version 2002/2003 and version 2005 is
completely different and therefore is it at least very difficult to help
you as you don't tell which version and program language and what
database you are using.

See here how you can create yourself insert/delete/update commands for a
non generated dataset for SQLServer (OleDB is as well on our website)

http://www.vb-tips.com/dbPages.aspx?ID=3405596d-4556-4aa8-be12-d7c12bbb3726

I hope this helps,

Cor
 
Did you try the sample,

The same is for OleDb on our website, I saw later on your earlier message
what you was using but the difference is not that big.

Cor
 
Back
Top