Hi,
Although I didn't post my resolution, I needed to cast with Null.
(Int16?)null
So My complete test became.
Code:drpStatus.SelectedItem.Value == "" ? (Int16?)null : Convert.ToInt16(drpStatus.SelectedItem.Value)
|
Results 1 to 3 of 3
Thread: [RESOLVED] Passing NullsThreaded View
|
Click Here to Expand Forum to Full Width |