I am confused on a very simple thing. I want to make a text box visible if a string is equal to "Test 002" OR "Test 004" value of TestName. What is the best way to achieve this?
I was using the below statement, but it is not working.
<asp:TextBox ID="TextBox1" runat="server" Visible='<%# (String.Compare(Eval("TestName").ToString(), "Test 002", True) And String.Compare(Eval("TestName").ToString(), "Test 004", True) = 0)%>'></asp:TextBox>
can some help me plz.
thanks
Go to the complete details ...