G
Guest
In my SQL database, I have a "text" column type that can contain null values.
I want to loop thru my data using a sqldatareader and store the value in net
string variable. How would I check the sqldatareader value for null prior to
attemping the assignment to my net string variable. Also, if the read value
is null, do I want to assign my net sting variable to "" or is there some
more efficent way to deal with null strings.
Thanks,
Fred Herring
I want to loop thru my data using a sqldatareader and store the value in net
string variable. How would I check the sqldatareader value for null prior to
attemping the assignment to my net string variable. Also, if the read value
is null, do I want to assign my net sting variable to "" or is there some
more efficent way to deal with null strings.
Thanks,
Fred Herring