@mjb If you looked at my answer, you'd see I already had that in the comment at the top of the code. If it didn't work, I wouldn't have the graphic to prove that it does.
Open File Dialog Multiple Files C#
As I explained, the code takes values from a database table & concatenates them. You would just put the Doctype ('Documents', 'Images', etc.) and the Extension as 2 columns on a table called 'FILETYPES'. Assuming you had a function called DataLayer.GetDataTable that would take the SQL commands I have in this code & send you back a DataTable, it would do everything for you. As I said, yes, was extreme, but it does work.–Oct 13 '17 at 0:56. Only 10% of your post is the direct answer to the question.
Other 90% is extra information which is not necessary to solve the question. The question does not request information about getting data from database and did not ask about concatenates. Some more SQL commands? Why don't you also include pulling data from Web Services. And demonstrate JSON string parsing.
C# Open File Dialog Example
Or XML data conversion to get File Types? And also from NoSQL? And Javascript calling from front end to back end for the File Types? That is out of the topic.–Oct 14 '17 at 5:17.