Dela via


Microsoft Technology Guru Contest - Question 10

In the Below XAML code, [code] <TextBlock x:Name="ExpiryDateTextBlock“ Text="{Binding ExpiryDate, StringFormat='MM-dd-yyyy', TargetNullValue='NA'}" > </TextBlock> Which of the following is correct?

1. 'NA' will be displayed if the ExpiryDate is null.
2. 'NA' will be displayed if the ExpiryDate is less than current date.
3. ExpiryDate value is displayed in the 'MM-dd-yyyy' format
4. Throws a compile-time error.
5. Both 1 and 3

 

How to participate:

  • Answer the above question and providing your email address along.
  • Only the answer provided with email address will be marked.
  • Only the first correct answer will be considered.
  • For further details kindly refer to the Competition Rules and Guidelines.

Comments

  • Anonymous
    December 07, 2011
    Correct answer: 5. Both 1 and 3 email: alihaider59@live.com

  • Anonymous
    December 07, 2011
    option 5. Both 1 and 3 me@umair.me

  • Anonymous
    December 07, 2011

  1. Both 1 and 3 Email : ib_22_dik@yahoo.com
  • Anonymous
    December 07, 2011
  1. 'NA' will be displayed if the ExpiryDate is less than current date. Email : mrsajjadmemon@hotmail.com
  • Anonymous
    December 07, 2011
    Option 5, Both 1 and 2 hassaanmasood@live.com

  • Anonymous
    December 07, 2011
    Option 5. Both 1 and 3 mary_khan87@hotmail.com

  • Anonymous
    December 08, 2011
    Both 1 and 3.  syed.sheheryar@live.com

  • Anonymous
    December 08, 2011
    Waseemuddin Shaikh Option:5 waseem.uddin@live.com

  • Anonymous
    December 08, 2011
    answer 5 shaikhjunaid@hotmail.com

  • Anonymous
    December 08, 2011
    Correct answer is option number 5 (Both 1 and 3) email: kjamilpk@hotmail.com

  • Anonymous
    December 12, 2011
    Answer is : 5. Both 1 and 3 Email: awaisjaved1989@hotmail.com

  • Anonymous
    March 09, 2014
    Answer is :5 Email: sajjadaslam3@hotmail.com