I\'m trying to execute a stored procedure and then use an if statement to check for null values and I\'m coming up short. I\'m a VB guy so please bear with me if I\'m making
if(!rsData.IsDBNull(rsData.GetOrdinal("usr.ursrdaystime"))) { strLevel = rsData.GetString("usr.ursrdaystime"); }
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.isdbnull.aspx
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.getordinal.aspx