M
Michel Vanderbeke
Hello,
When reading data from a SqlClient.SqlDataReader in VB.NET 2005, I want to
display fiels that sometimes are empty.
sUser = CStr(rdUser("Name") & Space(1) & CStr(rdUser("First_Name")
When the First_Name of a user is empty, I get an error telling me type
DBNull cannot be converted to String.
Is there a way of solving this problem?
Many thanks,
Michel
When reading data from a SqlClient.SqlDataReader in VB.NET 2005, I want to
display fiels that sometimes are empty.
sUser = CStr(rdUser("Name") & Space(1) & CStr(rdUser("First_Name")
When the First_Name of a user is empty, I get an error telling me type
DBNull cannot be converted to String.
Is there a way of solving this problem?
Many thanks,
Michel