PC Review


Reply
Thread Tools Rate Thread

Binding Source - Cant Delete - Can From BS Datasource

 
 
Richard Coltrane
Guest
Posts: n/a
 
      21st Jan 2008
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


 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      21st Jan 2008
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

 
Reply With Quote
 
William Stacey [C# MVP]
Guest
Posts: n/a
 
      22nd Jan 2008
You did not provide much detail to help with the issue. What is the
DataSource? A linq table, a list, other?

W

"Richard Coltrane" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with binding to binding source on base form in VS 2005 =?Utf-8?B?SmltIFRpbHNvbg==?= Microsoft Dot NET Framework Forms 3 17th Oct 2006 12:19 PM
Trouble with binding navigator and/or associated binding source Mike Microsoft ADO .NET 0 29th Jul 2006 04:17 PM
Trouble with binding navigator and/or associated binding source Mike Microsoft Dot NET Framework Forms 0 29th Jul 2006 04:17 PM
binding xml as datasource suzy Microsoft ASP .NET 0 11th Apr 2004 06:51 PM
binding xml as datasource suzy Microsoft C# .NET 0 11th Apr 2004 06:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:55 AM.