View Single Post
Old 08-31-2011, 08:34 AM   #1 (permalink)
salassi
New Member
 
Join Date: Aug 2011
Model: 8310
PIN: N/A
Carrier: Rogers
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question SQL statement error

Please Login to Remove!

Statement st=d.createstatement("Insert INTO Employees VALUES("+'empidtext.gettext()'+","+'empnametext.ge tText()'+","+'depttext.gettext()'+")");



There are 3 textboxes empidtext,empnametext,depttext..
I have to retrive the values of these three textboxes and display the inserted values in a sqlite table dynamically..


But im nt getting these values displayed

Plz Help me out.
Thanks in Advance
Offline   Reply With Quote