Hi to All

i have a datagrid and i want to bind it with array i will bind it but how to store data in to array means i want to write code to get the file name which is in specific folder in hard drive and i want to store those name into array and by this array i want to bind the datagrid can anybody give me the code. There is no specific extensions of file

thanks in advance.

>i will bind it but how to store data in to array

string []lines=System.IO.File.ReadAllLines("filename");