mahnaz af

mahnaz af

  • NA
  • 26
  • 6.6k

how to compare value of listview with string ?

Jun 5 2015 4:22 AM
<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)