Hi All,
I have a List<Person>
which is bound to a grid view.
I want to export all the values to an excel file.
My person class is as follows:
class Person
{
public string Name{get;set;}
public string City{get;set;}
public int Age{get;set;}
}
Is there any way to do it? Please suggest....