C
chance
Getting and error on this first line of code:
//inspector phone
theField = reader.GetString(20);
builder.MoveToBookmark("inspector_phone");
builder.Write(theField);
the first line is crashing my program. it complains about an invalid
cast. i don't understand why though. I tried putting a IsDBNull around
it (thinking the data might be null) but that does not seem to help.
the field is declared as a string and reader is a connection to my
Oracle database.
Any help appreciated.
//inspector phone
theField = reader.GetString(20);
builder.MoveToBookmark("inspector_phone");
builder.Write(theField);
the first line is crashing my program. it complains about an invalid
cast. i don't understand why though. I tried putting a IsDBNull around
it (thinking the data might be null) but that does not seem to help.
the field is declared as a string and reader is a connection to my
Oracle database.
Any help appreciated.