title: How to show new line in a GridView column
body: <p>I have the following C# function:</p>
  
  <pre><code>public string CheckInCollection(long lngProvId)
  {
      //...
      foreach (var item in collList)
      {
          strColl += item.Id.ToString() + " (" + item.Title + ")" + "\r\n";
      }
  
      return strColl;
  }
  </code></pre>
  
  <p>The following C# function:</p>
  
  <pre><code>public void PopulateGridView(bool blType)
  {
      if (blType == false)
      {
      }
      else
      {
          strCollFinalized = "" + ddlContent.SelectedItem + "|" + CheckInCollection(Convert.ToInt64(ddlContent.SelectedItem.Value)) + "";
          string[] strL = strCollFinalized.Split('|');
  
          DataTable dt = new DataTable();
          DataColumn dc = new DataColumn("Provider");
          DataColumn dc1 = new DataColumn("Collection");
  
          dt.Columns.Add(dc);
          dt.Columns.Add(dc1);
  
          DataRow dr = dt.NewRow();
          dr[dc] = strL[0];
          dr[dc1] = strL[1];
  
          dt.Rows.Add(dr);
          gvData.DataSource = dt;
          gvData.DataBind();
      }
  }
  </code></pre>
  
  <p>When the gridview is generated the second column is displayed in one line but when I check the source, it is displaying in the next line.</p>
  
  <p>How can I modify so that the returned string shows each <code>strColl</code> in a new line.</p>