1. date inserting coderanch.comHello friends iam having a problem for date Iam checking in form for a input if input is Yes than insert date if NO than insert null..I tried lots of things but error is coming Not a date format if I insert null... can any one tell how is this possible.. sandeep |
2. Inserting Date value by using JSP......Please help coderanch.com |
3. Inserting Date into Ms- Access Using jsp go4expert.comFirst try inserting static data from the code, like String str="insert into services values('',?,#01-Jan-2009#)"; If that works then you should get the data from HTML page in the format above, and then you can use the below statement String str="insert into services values('',?,#" & vardate & "#)"; (where vardate is the variable used to store date from the HTML page) Remember ... |