I have a list of documents displayed in a grid and want to be
able to open the files (which are stored on the webserver). The
files have different file types.
Any help on doing this will be appreciated
The files are an assortment of pdf's, docs, xls etc.
The grid is populated from a SQL database containing the
names of the documents but the files are not linked to the
I have it working with one file type by hard coding the
extension but need to get it to work with multiple file
Can't you put the file extension in the DB as another column?
Then when you do the initial query of the files, send the extension
column as well. You don't have to display the extensions in the
grid, but the grid will hold the information none the less for each
file. So when you click the file, merely append the extension on