Hello, this is my first post - so be nice!
I have bound a gridview to an object (user defined) and then added on a checkbox column at the end to allow the user to select the row.
Markup:
<div style="width: 100%; height: 400px; overflow: scroll"> <asp:GridView ID="gridAccounts" runat="server" AutoGenerateColumns="false" DataKeyNames="ID"> <Columns> <asp:BoundField DataField="Transactiondate" HeaderText="Date" DataFormatString="{0:d}" HtmlEncode="false" ItemStyle-HorizontalAlign="Left" /> <asp:BoundField DataField="TransactionType" HeaderText="Type" HtmlEncode="false" ItemStyle-HorizontalAlign="Left" /> <asp:BoundField DataField="TransDescription" HeaderText="Description" HtmlEncode="false" ItemStyle-HorizontalAlign=&quo ...

Go to the complete details ...