hi vinodkumar.s
First create one list array in public in top
public static List<pnrlist> PnrlistList;
public class Pnrlist
{
public Pnrlist(string airline, string pnr, string airpnr, string crspnr)
{
Airline = airline;
Pnr = pnr;
Airpnr = airpnr;
Crspnr = crspnr;
}
public string Airline { get; set; }
public string Pnr { get; set; }
public string Airpnr { get; set; }
public string Crspnr { get; set; }
}
</pnrlist>
after that where u want to handle that list array just declare there
PnrlistList = new List<pnrlist>();</pnrlist>
after that load the data inside the listarray
PnrlistList.Add(new Pnrlist("A","B","C","D"));
and assign to grid
datagird.ItemsSource = PnrlistList;
Ok bye..
regards
siva