Hi
I do many sql queries in my application using SqlDataReader.
There are some columns in certain tables that can be empty.
Now when read out information out of an empty column using
sqlDataReader i get an error massage that the read was invalid
coz there are no dates.
How can i avoid that?? do i have to use try catch for every
single read?? Is there no other way??
thanx for the help.
chinavo
I do many sql queries in my application using SqlDataReader.
There are some columns in certain tables that can be empty.
Now when read out information out of an empty column using
sqlDataReader i get an error massage that the read was invalid
coz there are no dates.
How can i avoid that?? do i have to use try catch for every
single read?? Is there no other way??
thanx for the help.
chinavo