<asp:GridView runat="server" ID="grdMine" DataSourceID="srcMyParents" DataKeyNames="ID"
SortedAscendingCellStyle-BackColor="Wheat"
SortedDescendingCellStyle-BackColor="WhiteSmoke"
OnRowDataBound="grdMine_RowDataBound">
<Columns>
<asp:BoundField DataField="FirstName" HeaderText="First Name" NullDisplayText="N/A" ReadOnly="true" ShowHeader="true"
SortExpression="FirstName" />
<asp:BoundField DataField="LastName" HeaderText="Last Name" NullDisplayText="N/A" ReadOnly="true" ShowHeader="true"
SortExpression="LastName" />
<asp:BoundField DataField="BirthDate" HeaderText="Birth Date" NullDisplayText="N/A" ReadO ...
Go to the complete details ...