Click here to Skip to main content
15,898,588 members
Home / Discussions / WPF
   

WPF

 
QuestionMVVM Model Pin
Member 455049313-May-11 1:34
Member 455049313-May-11 1:34 
AnswerRe: MVVM Model Pin
Nicolai Schrade13-May-11 4:04
Nicolai Schrade13-May-11 4:04 
AnswerRe: MVVM Model [modified] Pin
RobCroll14-May-11 0:52
RobCroll14-May-11 0:52 
AnswerRe: MVVM Model Pin
Abhinav S15-May-11 5:27
Abhinav S15-May-11 5:27 
AnswerRe: MVVM Model Pin
_Maxxx_16-May-11 2:45
professional_Maxxx_16-May-11 2:45 
QuestionAbout Apllication More Memory usage Pin
Member 455049313-May-11 1:29
Member 455049313-May-11 1:29 
QuestionRe: About Apllication More Memory usage Pin
Mark Salsbery13-May-11 6:15
Mark Salsbery13-May-11 6:15 
AnswerRe: About Apllication More Memory usage Pin
Member 455049315-May-11 5:18
Member 455049315-May-11 5:18 
AnswerRe: About Apllication More Memory usage Pin
Vimalsoft(Pty) Ltd15-May-11 5:39
professionalVimalsoft(Pty) Ltd15-May-11 5:39 
QuestionShow task bar after maximise the window in wpf Pin
Naufalkk13-May-11 0:08
Naufalkk13-May-11 0:08 
QuestionWPF DataGrid - automatically insert new line on tab in last visible column Pin
Nicolai Schrade12-May-11 4:05
Nicolai Schrade12-May-11 4:05 
AnswerRe: WPF DataGrid - automatically insert new line on tab in last visible column Pin
dasblinkenlight12-May-11 4:38
dasblinkenlight12-May-11 4:38 
GeneralRe: WPF DataGrid - automatically insert new line on tab in last visible column Pin
Nicolai Schrade13-May-11 4:00
Nicolai Schrade13-May-11 4:00 
GeneralRe: WPF DataGrid - automatically insert new line on tab in last visible column Pin
dasblinkenlight13-May-11 4:10
dasblinkenlight13-May-11 4:10 
GeneralRe: WPF DataGrid - automatically insert new line on tab in last visible column Pin
Nicolai Schrade13-May-11 4:44
Nicolai Schrade13-May-11 4:44 
Questionincorrect value retrieved. Pin
arkiboys11-May-11 3:35
arkiboys11-May-11 3:35 
AnswerRe: incorrect value retrieved. Pin
Ian Shlasko11-May-11 3:40
Ian Shlasko11-May-11 3:40 
GeneralRe: incorrect value retrieved. Pin
arkiboys11-May-11 3:41
arkiboys11-May-11 3:41 
GeneralRe: incorrect value retrieved. Pin
Ian Shlasko11-May-11 3:48
Ian Shlasko11-May-11 3:48 
GeneralRe: incorrect value retrieved. Pin
arkiboys12-May-11 1:59
arkiboys12-May-11 1:59 
GeneralRe: incorrect value retrieved. Pin
Pete O'Hanlon12-May-11 2:12
mvePete O'Hanlon12-May-11 2:12 
GeneralRe: incorrect value retrieved. Pin
arkiboys12-May-11 3:09
arkiboys12-May-11 3:09 
GeneralRe: incorrect value retrieved. Pin
Wayne Gaylard12-May-11 2:26
professionalWayne Gaylard12-May-11 2:26 
Well, you have bound the controls to the Notes and EnglishNotes properties of some Class. Therefore, you need to set the breakpoint in the setter for these properties. Then when these properties get updated, you can check whether the expected values for these properties are being set. This sounds like a classic case of two properties getting set to the same value like this


C#
foreach (DataRow dr in ds.Tables[0].Rows)
            {
                //yada yada
                MyClass.property2 = dr.IsNull(2) ? String.Empty : (string)dr.ItemArray[3];
                MyClass.property3 = dr.IsNull(3) ? String.Empty : (string)dr.ItemArray[3];
                //yada yada
            }


instead of

C#
foreach (DataRow dr in ds.Tables[0].Rows)
            {
                //yada yada
                MyClass.property2 = dr.IsNull(2) ? String.Empty : (string)dr.ItemArray[2];
                MyClass.property3 = dr.IsNull(3) ? String.Empty : (string)dr.ItemArray[3];
                //yada yada
            }

...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....

GeneralRe: incorrect value retrieved. Pin
Ian Shlasko12-May-11 3:16
Ian Shlasko12-May-11 3:16 
AnswerRe: incorrect value retrieved. Pin
Abhinav S11-May-11 6:27
Abhinav S11-May-11 6:27 

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.