hiii in my website there is 1 module in which i m fetching data(Student name, Roll no.) of students from the student master table into gridview... and in that gridview there is 1 checkbox column...
I want that when i will check the checkbox of those students who are present...dat checked students and name should be get entered into another table in database where there wil be present written in front of checked students and absent written in front of unchecked students.....
I tried alot bt i m nt geting it.....
![this my attendance table from where i will fetch data of students in gridview](http://img827.imageshack.us/img827/2539/attendancetable.jpg)
from the above table(student info) i wil fetch data in gridview
and will mark attendance in the gridview
![example structure of my gridview](http://img832.imageshack.us/img832/9567/attendancea.jpg)
in the above sample gridview in the student name column the name of the students is fetched from student info table
when i wil check the checkbox and select the date and click on the button the students who are checked wil be stored with a status present and those who are unchecked are stored as absent in another table
the following is the table(example) is where the data is to be stored in the same manner
![this is the table in which the record is to be stored](http://img801.imageshack.us/img801/3949/attrz.jpg)
It means that total two tables are there in the database
from 1 table i fetch data of students info in gridview and in another table i wil save the attendance marked in gridview
so please help me as soon as possible..