J
JJ297
This is the error message I'm getting when trying to bring back the
data to show whether a check box is listed or not this is what I have
so far:
<EditItemTemplate><asp:RadioButton ID="RadioYes" GroupName="FAQs"
runat="server" Text="Yes" Checked='<%# testfaq(Bind("displayedques"))
%>' />
<asp:RadioButton ID="RadioNo" runat="server" GroupName="FAQs"
Text="No" Checked='<%# testfaq(Bind("nondisplayedques")) %>' />
</EditItemTemplate>
This is on my code behind page
Public Function testfaq(ByVal mycheckvalue As String) As Boolean
If mycheckvalue = "Y" Then
Return True
Else : Return False
End If
End Function
Any suggestions?
data to show whether a check box is listed or not this is what I have
so far:
<EditItemTemplate><asp:RadioButton ID="RadioYes" GroupName="FAQs"
runat="server" Text="Yes" Checked='<%# testfaq(Bind("displayedques"))
%>' />
<asp:RadioButton ID="RadioNo" runat="server" GroupName="FAQs"
Text="No" Checked='<%# testfaq(Bind("nondisplayedques")) %>' />
</EditItemTemplate>
This is on my code behind page
Public Function testfaq(ByVal mycheckvalue As String) As Boolean
If mycheckvalue = "Y" Then
Return True
Else : Return False
End If
End Function
Any suggestions?