Click here to Skip to main content
15,868,016 members
Home / Discussions / WPF
   

WPF

 
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
subeditorPete 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 
QuestionUse of Observablecollection in Silverlight Pin
Member 455049311-May-11 3:17
Member 455049311-May-11 3:17 
AnswerRe: Use of Observablecollection in Silverlight Pin
Ian Shlasko11-May-11 3:27
Ian Shlasko11-May-11 3:27 
GeneralRe: Use of Observablecollection in Silverlight Pin
Member 455049311-May-11 4:56
Member 455049311-May-11 4:56 
GeneralRe: Use of Observablecollection in Silverlight Pin
Ian Shlasko11-May-11 5:11
Ian Shlasko11-May-11 5:11 
GeneralRe: Use of Observablecollection in Silverlight Pin
Member 455049311-May-11 5:42
Member 455049311-May-11 5:42 
GeneralRe: Use of Observablecollection in Silverlight Pin
Ian Shlasko11-May-11 6:03
Ian Shlasko11-May-11 6:03 
GeneralRe: Use of Observablecollection in Silverlight Pin
Pete O'Hanlon11-May-11 6:31
subeditorPete O'Hanlon11-May-11 6:31 
GeneralRe: Use of Observablecollection in Silverlight Pin
Member 455049312-May-11 6:01
Member 455049312-May-11 6:01 
GeneralRe: Use of Observablecollection in Silverlight Pin
Pete O'Hanlon12-May-11 6:21
subeditorPete O'Hanlon12-May-11 6:21 
QuestionDataGrid - CheckBox selection from Code. Pin
Nanda_MR10-May-11 18:39
Nanda_MR10-May-11 18:39 
AnswerRe: DataGrid - CheckBox selection from Code. Pin
Pete O'Hanlon10-May-11 19:29
subeditorPete O'Hanlon10-May-11 19:29 
QuestionOverriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
Jayme6510-May-11 11:07
Jayme6510-May-11 11:07 
AnswerRe: Overriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
SledgeHammer0110-May-11 11:55
SledgeHammer0110-May-11 11:55 
GeneralRe: Overriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
Jayme6510-May-11 12:58
Jayme6510-May-11 12:58 
AnswerRe: Overriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
Mark Salsbery10-May-11 12:04
Mark Salsbery10-May-11 12:04 

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.