datagrid question

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
xzzy [ Mo, 31 März 2008 05:26 ] [ ID #1932584 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » datagrid question

Vorheriges Thema: Can not delete file using ASP .NET 2.0 from the images directory within the website
Nächstes Thema: RE: how to launch new IE window so it will create separate ASP Session