Click here to Skip to main content
15,905,419 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I Pass As Per Below But Error SHown

"<"a href="/KB/answers/BoardStatement.aspx"?eid=<%# Eval("MemberID") %> and Name=<%# Eval("BoardName") %>">Details

VB
and Error is
DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'BoardName'.
Posted
Comments
King Fisher 28-Dec-13 7:02am    
hi arpitk6016279,
for this question
[Not a question] How to calculate commision based on referred memebrs by arpitk6016

you need this
http://www.codeproject.com/Questions/702799/string-joins-with-comma-in-sql-server

not for this question

<a href='BoardStatement.aspx?eid=<%# Eval("MemberID")%>&Name=<%# Eval("BoardName") %>'>link text</a>
 
Share this answer
 
error that you have mentioned means your datarow does not have any data for column name BoardName. please check if you get proper data from the database for this column.
 
Share this answer
 
C#
<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.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900