how to split strings and bind them as header for gridview
<p>I have a string list:</p>

<pre><code>List&lt;string&gt; rows = new List&lt;string&gt;();
</code></pre>

<p>Now, rows has data like this:</p>

<pre><code>countryname~population
india~12,211
china~23,22,223
usa~45,454
japan~34,343,232
</code></pre>

<p>I need to bind this data in gridview like countryname, and population as header for gridview</p>

<pre><code>countryname  population 
    india       12,211
    china      2322223
    usa          45454
    japan     34343232
</code></pre>

<p>any help would be 
 great thank you</p>
