I am trying to fetch a data from Acess database for perticular condition but it shows the above mentioned error.. and code is as follows...
string o;
string cmdtext = "Select Power_Math From Symbol_List where TeX= " & q ;
con.Open();
SelectEntity = new OleDbCommand(cmdtext, con);
rdr = SelectEntity.ExecuteReader(CommandBehavior.SingleR esult);
while (rdr.Read())
{
o = (rdr["Power_Math"].ToString());
}
rdr.Close();
con.Close();
please help....
thanx