Aabha , Check Whether the sql Query returning the ResultSet has the column name mentioned in "rs.getInt(column name)". Also check if you are using alises like "e.EmpName" in that case you can rewrite the query like Select e.EmpName EmpName from Emp e
Note : I guess it's not the right place to post this question. If you have posted it at right place you 'll get more responses from the ranchers.
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place, and wastes the bartender's time having to close and move posts around.