Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1160 karma points
    Jun 29, 2011 @ 19:59
    Connie DeCinko
    0

    Nulls cause missing keys in Examine collection

    I am trying to create a simple Examine collection of first name, middle name, last name.  If they middle name is empty or null, that row is not added to the dictionary so any code that later tries to display this missing value fails.

    Is there a way to force the key to be created, perhaps as an empty string? or must I check for the missing key when I try and display it in my repeater control?

     

Please Sign in or register to post replies

Write your reply to:

Draft