Click here to Skip to main content
16,016,537 members

Comments by Bharat_Jain (Top 2 by date)

Bharat_Jain 20-Mar-14 16:51pm View    
Yes . Supposing that i have 2 JFrame and in first JFrame i have a textbox and a button. when i click that button the data of that text field is transferred to another Jframe and then stored in variable a on other JFrame. Now suppose that variable is a. and i am trying something like this on second jFrame to print data based on where condition

String a=xyz;
select * from table1 where name=a;

the problem is i am not able to fetch the value stored in a variable to execute query .
Bharat_Jain 20-Mar-14 16:38pm View    
But I am using JDBC So how it is possible ?