How to add GridView Row to datatable?
<p>I've a gridview with headercheckboxes and childcheckboxes.When headercheckbox is clicked child checkboxes will automatically be checked.For this i've used javascript named 'checked' and its working fine..</p>

<p>My problem is i want to add all the checked child items to a datatable,simultaneously when i check header checkbox.
Also when only child checkbox is clicked that row should only be added to datatable..
This is because  only checked items need to to to database...</p>

<p>How can i achieve this ???</p>
