Click here to Skip to main content
16,004,833 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: any ideas for file upload solution Pin
N a v a n e e t h23-Dec-08 16:01
N a v a n e e t h23-Dec-08 16:01 
GeneralRe: any ideas for file upload solution Pin
George_George23-Dec-08 21:04
George_George23-Dec-08 21:04 
GeneralRe: any ideas for file upload solution Pin
Christian Graus22-Dec-08 23:27
protectorChristian Graus22-Dec-08 23:27 
GeneralRe: any ideas for file upload solution Pin
George_George23-Dec-08 0:39
George_George23-Dec-08 0:39 
Questionfiring datatgrid_itemCommand Pin
jhyn22-Dec-08 19:26
jhyn22-Dec-08 19:26 
AnswerRe: firing datatgrid_itemCommand Pin
Abhijit Jana22-Dec-08 19:44
professionalAbhijit Jana22-Dec-08 19:44 
GeneralRe: firing datatgrid_itemCommand Pin
jhyn22-Dec-08 20:18
jhyn22-Dec-08 20:18 
QuestionOpening a file form c prompt of server. Pin
Ajeet mittal22-Dec-08 19:17
Ajeet mittal22-Dec-08 19:17 
Hi,

In my application I have a file which is stored in the server C:\Files Folder and the file name and type is any file.the whole path for the file is stored on the database.I show file name in gridview templete field as anchor.Now when i click on a link on one of the column of a gridview then the file from that location should open.
but it shows file not found.
i am writing this code to open a file

<asp:TemplateField HeaderText="File Name">
<ItemTemplate>
<a href='<%#DataBinder.Eval(Container.DataItem,"DocPath") %>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"DocName") %></a>
</ItemTemplate>
</asp:TemplateField>

can any one help me.

With Regards

ajeet
AnswerRe: Opening a file form c prompt of server. Pin
Brij22-Dec-08 19:24
mentorBrij22-Dec-08 19:24 
GeneralRe: Opening a file form c prompt of server. Pin
Ajeet mittal22-Dec-08 19:32
Ajeet mittal22-Dec-08 19:32 
AnswerRe: Opening a file form c prompt of server. Pin
Christian Graus22-Dec-08 20:45
protectorChristian Graus22-Dec-08 20:45 
GeneralRe: Opening a file form c prompt of server. Pin
Ajeet mittal22-Dec-08 21:46
Ajeet mittal22-Dec-08 21:46 
GeneralRe: Opening a file form c prompt of server. Pin
Christian Graus22-Dec-08 22:04
protectorChristian Graus22-Dec-08 22:04 
GeneralRe: Opening a file form c prompt of server. Pin
Ajeet mittal22-Dec-08 22:07
Ajeet mittal22-Dec-08 22:07 
QuestionTemplate fields Pin
sram1522-Dec-08 19:14
sram1522-Dec-08 19:14 
AnswerRe: Template fields Pin
Brij22-Dec-08 19:30
mentorBrij22-Dec-08 19:30 
GeneralRe: Template fields Pin
sram1522-Dec-08 20:18
sram1522-Dec-08 20:18 
GeneralRe: Template fields Pin
Brij22-Dec-08 21:19
mentorBrij22-Dec-08 21:19 
AnswerRe: Template fields Pin
N a v a n e e t h22-Dec-08 20:27
N a v a n e e t h22-Dec-08 20:27 
Question[Message Deleted] Pin
jhyn22-Dec-08 19:00
jhyn22-Dec-08 19:00 
AnswerRe: itemcommand not firing Pin
Brij22-Dec-08 19:17
mentorBrij22-Dec-08 19:17 
JokeRe: itemcommand not firing Pin
Abhijit Jana22-Dec-08 19:30
professionalAbhijit Jana22-Dec-08 19:30 
GeneralRe: itemcommand not firing Pin
Brij22-Dec-08 19:34
mentorBrij22-Dec-08 19:34 
QuestionHow to generate Dynamic sub domain name Pin
Satish3222-Dec-08 18:58
Satish3222-Dec-08 18:58 
QuestionSql severe connection problem Pin
sajjadlashari22-Dec-08 18:04
sajjadlashari22-Dec-08 18:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.