Binding Source - Cant Delete - Can From BS Datasource

R

Richard Coltrane

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
 
C

Cor Ligthert[MVP]

Richard,
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.
You are aware that there is a big difference between deleting and removing?

Cor
 
W

William Stacey [C# MVP]

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

W
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top