I get a compile error in the form:
incompatible types:java.util.date cannot to be converted to java.sql.Date
Date date=null;
date=new SimpleDateFormat("d MM y").parse((String)getSutunlar().get(index).getProduct_date());
I get a compile error in the form:
incompatible types:java.util.date cannot to be converted to java.sql.Date
Date date=null;
date=new SimpleDateFormat("d MM y").parse((String)getSutunlar().get(index).getProduct_date());
That is because SimpleDateFormat returns java.util.date and you are trying to assign the result in the date variable of instance type java.sql.Date. You should have a look at the imports (at the top of your .java file), and try replacing java.sql.Date with java.util.date.
