I'm not to sure if we can use Prepared statements.
I did some corrections and got rid of the headings and now I get this error message
Error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''David', 'Wie', '1', '2','3','4','5' ,'6','7','8','9 ' where empid = '234DW'' at line 1
Thanks for the help so far.
...
User Profile
Collapse
-
Yes not to sure what it means, but I have another class section where I add new info (data) and it works just fine...
I don't know if I have enought time to learn PreparedStateme nts this is due in a day...
red
PS Not to sure if the inst. wants PreparedStateme nts as well?...Leave a comment:
-
Thanks Jos for the help...
But I did away with the Prestatement.
Found some mistakes in my coding.
I having troubles with this part thou.
I get this error which is pointer...
Error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name= 'lkasdj', Street= '3437', City 'Fullerton', State'CA', Zip = '3', Home Pho' at line 1....Leave a comment:
-
Thanks r035198x for the help. I know there well be more Question for you.Leave a comment:
-
this being the index postion I mean this is where the object will be stored in the Arraylist.
red...Leave a comment:
-
Opps...
So to add object into the Arraylist I would do somthing like this....Code:class BankInfo{ String BankId; String Fname; String Lname; } /* * Mutator Methods if any */ /* * accessors make info available if any. */ //create my arraylist. public class BankStatement{ ArrayList<BankInfo> list = new ArrayList<BankInfo>(); }Leave a comment:
-
So if I have a class BankStatement
Is that...Code:class BankStatement{ String BankId; String Fname; String Lname; } /* * Mutator Methods if any */ /* * accessors make info available if any. */ //create my arraylist. public class BankStatement{ ArrayList<BankStatement> list = new ArrayList<BankStatement>(); }Leave a comment:
-
ArrayList and Generics
Hello Everyone.
I have some question to ask you I have read your info and have read a book call Big Java and I still lost.
1. I have a Class called BankStatement and when I'm create a Arraylist.
Arraylist <BankStatemen t> bank = New Arraylist <BankStatemen t>
is <BankStatemen t> the Class BankStatement.
2. How do I inunate BankStatement can can if be null, and how do I do this and where do I do this....
No activity results to display
Show More
Leave a comment: