This is a common error that you get when trying to display a field with no value (null), from a table.
Sol:
Convert.IsDBNull(dt.Rows[i]["Pass1"]) ? null : dt.Rows[i]["Pass1"].ToString();
Sol:
Convert.IsDBNull(dt.Rows[i]["Pass1"]) ? null : dt.Rows[i]["Pass1"].ToString();
0 comments:
Post a Comment
Your comments: