TAN WhoAMI

TAN WhoAMI

  • NA
  • 291
  • 0

C# WPF DataGrid -FileUpload, FileDownload

Jul 16 2012 12:21 AM
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.