Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Please help me. don't working save button Pin
bayaa6-Mar-14 19:29
bayaa6-Mar-14 19:29 
GeneralRe: Please help me. don't working save button Pin
bayaa6-Mar-14 19:52
bayaa6-Mar-14 19:52 
QuestionInheriting binding list Pin
Gilbert Consellado4-Mar-14 21:52
professionalGilbert Consellado4-Mar-14 21:52 
AnswerRe: Inheriting binding list Pin
BobJanova5-Mar-14 0:56
BobJanova5-Mar-14 0:56 
GeneralRe: Inheriting binding list Pin
Gilbert Consellado5-Mar-14 22:19
professionalGilbert Consellado5-Mar-14 22:19 
GeneralRe: Inheriting binding list Pin
Gilbert Consellado5-Mar-14 22:42
professionalGilbert Consellado5-Mar-14 22:42 
GeneralRe: Inheriting binding list Pin
BobJanova6-Mar-14 6:10
BobJanova6-Mar-14 6:10 
GeneralRe: Inheriting binding list Pin
Gilbert Consellado6-Mar-14 22:05
professionalGilbert Consellado6-Mar-14 22:05 
BobJanova wrote:
Implementing INPC will cause your property getters to be called every time you notify the binding list that a property is changed. If you have expensive property getters (e.g. talking to an external data source), that could cause a problem – best practice is not to do that.


Yes that is what i want, to exclude INotifyPropertyChanged

BobJanova wrote:
If you're updating a lot of properties on the same item repeatedly, you'll want some kind of BeginUpdate/EndUpdate mechanism whereby you can turn off notifications while you make a lot of changes.


Could you give me some hint about that.
Please

Actually my plan is, when i initialize the bindingList it will get data from external source, then after that if one of the object property has been modified that object will be mark "Dirty" (its means it should be updated to the external data source). So while the bindinglist data has on the stage that some of its object is modifying, it will not reflected to the external source. then after that if i already finished modifying the bindinglist, that is the time that i should update the external data source.

My big problem here is, what object of the bindingList has been modified? "without implementing INPC".

So What i want is to enumerate all dirty objects, then after that it will update the external datasource.

Thanks.
AnswerRe: Inheriting binding list Pin
Eddy Vluggen6-Mar-14 7:10
professionalEddy Vluggen6-Mar-14 7:10 
GeneralRe: Inheriting binding list Pin
Gilbert Consellado6-Mar-14 22:25
professionalGilbert Consellado6-Mar-14 22:25 
QuestionIs C# is fully object oriented or not? Pin
Member 102864334-Mar-14 21:48
Member 102864334-Mar-14 21:48 
AnswerRe: Is C# is fully object oriented or not? Pin
Peter Leow4-Mar-14 21:59
professionalPeter Leow4-Mar-14 21:59 
GeneralRe: Is C# is fully object oriented or not? Pin
BobJanova5-Mar-14 0:39
BobJanova5-Mar-14 0:39 
AnswerRe: Is C# is fully object oriented or not? Pin
OriginalGriff4-Mar-14 22:14
mveOriginalGriff4-Mar-14 22:14 
AnswerRe: Is C# is fully object oriented or not? Pin
BillWoodruff4-Mar-14 23:08
professionalBillWoodruff4-Mar-14 23:08 
GeneralRe: Is C# is fully object oriented or not? Pin
harold aptroot5-Mar-14 1:21
harold aptroot5-Mar-14 1:21 
JokeRe: Is C# is fully object oriented or not? PinPopular
Wayne Gaylard5-Mar-14 1:37
professionalWayne Gaylard5-Mar-14 1:37 
GeneralRe: Is C# is fully object oriented or not? Pin
harold aptroot5-Mar-14 1:39
harold aptroot5-Mar-14 1:39 
GeneralRe: Is C# is fully object oriented or not? Pin
OriginalGriff5-Mar-14 1:56
mveOriginalGriff5-Mar-14 1:56 
GeneralRe: Is C# is fully object oriented or not? Pin
Wayne Gaylard5-Mar-14 1:58
professionalWayne Gaylard5-Mar-14 1:58 
GeneralRe: Is C# is fully object oriented or not? Pin
lukeer5-Mar-14 3:07
lukeer5-Mar-14 3:07 
GeneralRe: Is C# is fully object oriented or not? Pin
Wayne Gaylard5-Mar-14 3:18
professionalWayne Gaylard5-Mar-14 3:18 
GeneralRe: Is C# is fully object oriented or not? Pin
pradeep surya5-Mar-14 7:33
pradeep surya5-Mar-14 7:33 
GeneralRe: Is C# is fully object oriented or not? Pin
Pete O'Hanlon5-Mar-14 7:38
mvePete O'Hanlon5-Mar-14 7:38 
AnswerRe: Is C# is fully object oriented or not? Pin
Pete O'Hanlon5-Mar-14 8:05
mvePete O'Hanlon5-Mar-14 8:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.