HighTechTalks DotNet Forums  

Understanding BindingSource, DataSource, DataAdapter.

VB.net microsoft.public.dotnet.languages.vb


Discuss Understanding BindingSource, DataSource, DataAdapter. in the VB.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Mr. X.
 
Posts: n/a

Default Understanding BindingSource, DataSource, DataAdapter. - 06-25-2010 , 05:19 AM






Hello.
I have two forms.
on each form I can delete/insert/update rows on a datatable.

The question :
==========
I want that :
at each new form - only the changes on the specific form take or not take
affect.
(I want to commit or rollback the changes from the starting point of the
form).
I can add/update/delete more then one single row.

==========================
I didn't see how bindingSource is acts as a "layer", because I need to
delete by datarow object, and not via bindingSource object.
(dim dr as datarow
...
dr.delete() )

I am using :
BindingSource : for filtering and searching a specific row.
DataTable : adding rows, deleting rows, or update rows to a collection.
DataAdapter : one single adapter for the whole solution, used to put records
on database, without any sql code behinds (using commandBuilder).

Thanks

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.