Select and update

  • Thread starter Thread starter Alejandro
  • Start date Start date
A

Alejandro

Hi all,

I'd like to do something that was very easy with ADO in VB6. I'd like to do
a selection in one table and be able to search on the group of registers,
update or even insert one new.

This is possible to do in ADO .NET? How?
Thank you in advance.

Alejandro
 
Alenjandro,

Yes this is possible, however this newsgroup gives help, not complete code,
that you can find in books or piece by piece on internet.

The things you need are:
a dataset/datatable
a connection,
a command
and if you want to do it in an efficient way a DataAdapter

By instance Bill has a nice book. It is so thick that you can use it as
pillow, so you can sleep on it. When you read it, you will see it has more
then the information you are asking for now.

http://www.hitchhikerguides.net/

Cor
 
Thank you very much Cor. I already know that books exist, but only I need a
small example. Does anybody know where I could find it or where I must ask?

Thanks,

Alejandro
 
Good articles, but I don't see any one that read and update (or insert) on
same selection.
 
Back
Top