
Statement stm=con.createStatement();
String query="select * from employee where ename=\'"+ename+"\'";
ResultSet rs=stm.executeQuery(query);
if(rs.next())
{
-------
this is the code i have and i am getting an error like dis:
"ename cannot be resolved to a variable"
whats the problem in my code and how to rectify it.
plzz help n thanx in adv
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
