0

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.

2
Contributors
1
Reply
3
Views
8 Years
Discussion Span
Last Post by __avd
0

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

string []lines=System.IO.File.ReadAllLines("filename");
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.