|
For example, a Student table, there are three fields (SNO, SNAME, SAGE)
One record
Sno Sname SAGE
111 NULL 21
IF (Rdr.Read ())
{
IF (RDR.ISDBNULL (1))
{
// This record is not empty, but the SNAME field in the record is null ..
// If there is an error with Rdr.getstring (1), because NULL cannot be converted to string ..
}
}
I don't know if it is clear .. |
|