datagrid question

X

xzzy

using 2003 and C#;

I have a datagrid with these columns:

ID Filename Size View Download


- the ID column is invisible so I can get it's value
- the View and Download columns are image buttons

Questions:

1) if View is clicked, how do I display it in a new browser window?

2) if the file should not be viewed, only downloaded ( ex. and EXE
file ), how do I make the view icon visible/invisible row by row?


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,811
Latest member
SaulFernan

Latest Threads

Top