Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dr["Hello"] = (object)result ?? DBNull.Value;
- bool? result = dr["result"] == DBNull.Value ? null : (bool?)(Convert.ToInt32(dr["result"]) != 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement