0
Answer

C# WPF DataGrid -FileUpload, FileDownload

TAN WhoAMI

TAN WhoAMI

12y
1.3k
1
can anyone let me know whether this is possible?
I want to have a column in the DataGrid named FileName.

When the WPF is first loaded, the field in the column Filename is loaded with text UPLOAD.
When user clicks on the text UPLOAD, OpenFileDialog is open such that user can select any file with any file extension. When the file is selected, that text UPLOAD is changed to the filename itself, with the extension. That filename with its extension is then hyperlinked, such that when user clicks on it, it can be opened and viewed.

any comments and code sample is greatly appreciated.

thanks.