c# convert to nullable datetime

118

c# convert to nullable datetime -

DateTime? lastPostDate =  (DateTime?)(reader.IsDbNull(3) ? null : reader[3]); 

Comments

Submit
0 Comments