Please i have detailsview that displays YES or NO( ie the values in database table), but i will like to display another value if the value is NO on the Detailsview, the code should be in c#.
Use label inside itemtemplate, set label text='<%#Eval("yn").ToString() == "NO" ? "a" : "b" %>'
沒有留言:
張貼留言