title: Import data from text file and display in datagrid
body: <p>I want to import data from a text file and to display it in a data grid. The text file is delimited.The first row contains column headers and the rest contains the data for respective columns.</p>
  
  <p>There is column delimiters and row delimiters are present in text file.I want to display the data in a data grid in which header will be the column name and all the data will be display under each column.</p>
  
  <p>I have successfully taken the data from the file. The problem is the file may different for each time and the number of columns may vary. So I <code>can not use a predefined class</code> for it.I wanted to <code>create a class for run time and add the properties at run time</code> and to display the list to data grid. How can I complete this task ?</p>