View Full Version : Opening file location

11-21-2006, 12:03 PM
hi all,

i have to open a pdf/doc file using ASP.NET on a button click event. the file path is in a table in d database(MS-ACCESS). how could i import the file path into the syntax


using C# coding.

i've used data-adapter n a dataset into which the corresponding table is loaded.. i've to load the precise cell content in the syntax...

11-21-2006, 08:59 PM
I assume the path is a full path, stored in a dataset, and you're doing something to loop through the DS to process each row. If so, you could do like:

foreach (DataRow row in myDataset.Tables["MyTableName"].Rows )

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum