hi Aaron
this is Shakti, i work as Software Programmer.
Your query can be easily solved.
You dont have to define a nullable variable.
Just define a variable of ur required type, in this case integer.
the code goes like this (the code has been written in C#, u can transform it to
VB)
int i;
if(myDataReader("myPossiblyNullField")==DBNULL.Val ue)
{
i=0;// whatever the value u want to pass for null database values.
}
else
{
i=myDataReader("myPossiblyNullField");
}
hope u find it helpful.
reply ur comments.