hi mudassir,
You are trying to insert the values in the database with every setParameter method. if your database table has fields which does not allow null values then this is going to create problem. instead after setting all the values use just one update query for all the values.
hope this solves ur problem
regards,
Raghavan