Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI mates

I want to dynamically generate columns in the datagrid. But based on the .txt file selected.
My code is like:
var openFileDialog = new OpenFileDialog
CheckFileExists = true,
DefaultExt = ".txt"
Filter = "Resource files|*.txt";
Title = "Select Resource File";

After opening the file locally, when select that .txt file and click open
then the filename should be genereated in the datagrid.

Thanks in advance

Regards
Pavankumar
Posted
Updated 3-Feb-11 18:33pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900