Default selection of header and item checkboxes in gridview in asp.net
<p>I have gridview with header and item checkboxes.when i select header checkbox my code able to select all item checkboxes.when i un select header checkbox my code able to un select all item checkboxes.</p>

<p>Here my issue is when my page is loading(means when grid is loading first time) by default the header and item checkboxes should be selected.how can we do this.</p>
