Hi
In my knowledge from local drive u cant view file in browser,for this u need to upload all file and save in server (iis),from that u can get path and bind in grid view,but if u click u can view file ,if u have on-line viewer it look to view,other wise content of file appear in browser,if one line(.txt file) ,then line will appear in at top left of the browser,u cant control it(view in centre of browser).
Create one folder under root folder(website folder)add all files in that folder and bind path like this in grid view,so when open file path look like
Localhost:1234/website/temp/resume.docx
~/Somefolder/resume.docx
Note: u can see path like this d://Somefolder/File can view file,bcz client and sever in same machine,using ipaddres and run form other system u cant view file.
Regards
Aravind