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'".
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ramya bharathRank #3,780 · 391 reputationPosted Jun 5, 2015, 12:52 AM EDT
mahnaz af26 reputationPosted Jun 5, 2015, 1:07 AM EDT
ramya bharathRank #3,780 · 391 reputationPosted Jun 5, 2015, 1:20 AM EDT
mahnaz af26 reputationPosted Jun 5, 2015, 4:32 AM EDT
ramya bharathRank #3,780 · 391 reputationPosted Jun 5, 2015, 5:18 AM EDT
Or
Visible='<%# (Convert.ToChar(Eval("mojoud")).equals ('a') %>'>
mahnaz af26 reputationPosted Jun 5, 2015, 5:57 AM EDT
Parser Error Message: The server tag is not well formed.