DataReader Question

  • Thread starter Thread starter Patrick Olurotimi Ige
  • Start date Start date
P

Patrick Olurotimi Ige

I'm trying to get the field below in a table using
<td align=center><%= objDataReader["message"].ToString()%></td>
But i get the error
"Object reference not set to an instance of an object."
Any idea what i'm doing wrong?
 
i think thar you must before writing the ><%=
objDataReader["message"].ToString()%>
write

"objDataReader.read"
 
Back
Top