if(drNameShow["Time"] != System.DBNull.Value) { string mystring4= drNameShow["Time"].ToString(); } else { string mystring4 = "NULL"; }
if (drNameShow.Read()) { //processing here }
if (!string.IsNullOrEmpty(drNameShow["Time"].ToString())) { string mystring4= drNameShow["Time"].ToString(); } else { string mystring4 = string.Empty; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)