This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
string. Hi guys! I am using SQLSERVER 2005+jdk1.6 Where i am sending date as a String and typcasted to date format by Simpledateformat .while inserting in database its giving error" //error is Conversion failed when converting datetime from character " Here the code:: SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy"); dt = formatter.parse(login_form.getDate()); // date = login_form.getDate();