This is the sample of my code. The field FUNCTION_SCRIPT is a CLOB field (the only CLOB field) in my table IS_FUNCTION
public void ReadFunction(string FName
Thanks for all the suggestions and helps. I found that my problem was resolved by adding a
if(odr.Read())
{
int temp = odr.GetOrdinal("FUNCTION_SCRIPT");
OracleLob myLob = odr.GetOracleLob(temp);
fContent = (String)myLob.Value;
}
In other words, I was missing the statement odr.Read after the ExecuteReader() statement.