I have a mySQL table setup with a column with a datatype of TinyInt(1). This represents a boolean. 

0 = false; 1 = true.

I'm also setting up a website to show this information to the company using asp.net and the MVC design. Right now, the table shows the column as:

```
"Are Records Online"| [next column]
------------------------------------
 1                  |   junk
 1                  |    junk
 0                  |  junk

```

However, I want the 1's and 0's to display as 'true/false' or 'yes/no'. Basically just something more user-friendly.

**How should I do this?** With a script on the Viewpage itself or with a foreach loop in the controller such as:

```
foreach(ListViewModel i in DefaultList)
            {
               if(i.RecordsOnline == true)
                {  //set to 'yes'
                 }
                else if(i.RecordsOnline = false)
                { //set to 'no'
                }
            }

```