<asp:repeater id="rpt" runat="server">
<itemtemplate>
<a href="BoardStatement.aspx?eid=<%# Eval(" memberid=") %>&Name=<%# Eval(" boardname=") %>">Details</a>
</itemtemplate>
</asp:repeater>
you can use like this inside repeater or any other DataBound control.