how to split strings and bind them as header for gridview

Posted by prince23 on Stack Overflow See other posts from Stack Overflow or by prince23
Published on 2010-05-08T09:00:45Z Indexed on 2010/05/08 9:08 UTC
Read the original article Hit count: 234

Filed under:

hi i have an string List rows = new List(); now rows has an data like this

countryname~population
india~12,211
china~23,22,223
usa~45,454
japan~34,343,232

now i need to bind this data in gridview like countryname and population as header for gridview

countryname  population 
    india  12,211
    china 2322223
    usa 45454
    japan 34343232

any help would be great thank you

© Stack Overflow or respective owner

Related posts about c#