Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3070297
By: theo2005
Hi,
this is what I've tried:
<db:getConnection id="testCon">
<%
int Row = 0;
String lockUserQuery = "foo";
try
{
Statement stmt = testCon.createStatement();
Row = stmt.executeUpdate(lockUserQuery);
stmt.close();
}
catch (SQLException e)
{
e.printStackTrace();
}
%>
</db:getConnection>
Unfortunately there's a compiler failure: cannot resolve symbol
symbol : variable testCon
What's wrong with my code? How do I pass the connection to the script?
Thanks in advance T.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=55830
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms