I'm having a problem figuring out **how to give style to a result** (string) of a database in C#, connected to ASP.NET. I'd like to have that my `row["Grens"]` has a different font-size than `row["Sanctie"]` for exemple.

I display the result in a simple div:

```
<div id="resultaat" runat="server"></div>

```

What I tried to do was *(this doesn't work)*: 

```
public string ToonGrenzenPerZoekwoord(string zoekwoord)
    {
        string list ="";

        foreach (DataTable table in _persistcode.SearchGrenzenByKeyword("%" + zoekwoord + "%").Tables)
        {
            foreach (DataRow row in table.Rows)
            {
                list += "<span class='t1'>" + row["Grens"].ToString() + ": "+"</span>" + "<span class='t2'>"+row["Sanctie"].ToString() + "<br>" + "Dit hoort thuis in de categorie: " + row["IDCategorieën"].ToString() + "</span>";
            }
        }

        return list;
    }

```

My **CSS** looks like this at the moment:

```
  .t1{
      font-size: 30px;
      color:white;
  }

  .t2{
      font-size: 18px; 
      color:white;
  }

```