6
Answers

how to compare value of listview with string ?

mahnaz af

mahnaz af

9y
639
1
<asp:PlaceHolder ID="AvailPlaceHolder" runat="server" Visible='<%#Convert.ToThar (Eval("mojoud") == "a") %>'>
 
hi.i want compare value listview with a string ,and type of "mojoud " is char,but an error occurred  that "cannot convert type of 'char' to 'bool'".
 
Answers (6)