mercredi 27 avril 2016

How Can I Take Values from notepad text file to datagrid header ? i only want to take headers not data

<DataGrid.Columns>
    <DataGridTextColumn Header="A" Width="150" Binding="{Binding A}"/>
    <DataGridTextColumn Header="B" Width="100" Binding="{Binding B}"/>
    <DataGridTextColumn Header="C" Width="100" Binding="{Binding C}"/>
    <DataGridTextColumn Header="D" Width="100" Binding="{Binding D}"/>
    <DataGridTextColumn Header="E" Width="100" Binding="{Binding E}"/>
    <DataGridTextColumn Header="F" Width="100" Binding="{Binding F}"/>
<DataGrid.Columns/>

Now I want to take values from text file 1,2,3,4,5,6 in replace of A,B,C,D,E,F. How do I do that?

Aucun commentaire:

Enregistrer un commentaire