in my application i have to insert student test marks which containing 6 subjects.for each student i have to enter all 6 subjects marks until last student.if suppose strength is 50 upto last student i have to enter marks then only i have to insert in mysql. if in middle if power fails then i have to start from begining onwards. For that i want to automatic save option for each student each subject.if i enter marks in first subject then save marks in db and focus goes to second text box.Is there any solution.