Binding Source - Cant Delete - Can From BS Datasource

Binding Source - Cant Delete - Can From BS Datasource

Post by Richard Co » Tue, 22 Jan 2008 12:23:25


Hi there,

As i understand it binding sources are supposed to be a layer of indirection
for an underlying datasource.

However I often find my self unable to delete records from a binding source
using the remove method, and yet if i delete a row from its underlying
datasource/data table - thats work fine.

What are the conditions surrounding deletes from a binding source? It a bit
of a waste of time in providing "indirection" if i have to keep going to the
underlying datasource anyway.

Thanks

Richard
 
 
 

Binding Source - Cant Delete - Can From BS Datasource

Post by Cor Ligthe » Tue, 22 Jan 2008 14:58:08

Richard,

You are aware that there is a big difference between deleting and removing?

Cor

 
 
 

Binding Source - Cant Delete - Can From BS Datasource

Post by William St » Wed, 23 Jan 2008 12:29:51

You did not provide much detail to help with the issue. What is the
DataSource? A linq table, a list, other?

W