0

I am using Visual studio 2008 and trying to upload files. Though the file uploaded can be seen through windows explorer, it is not shown in solution explorer.

i am using the following c# code:

String fnm = FileUpload1.FileName;
String cp = Server.MapPath("~/Uploads/");
            
FileUpload1.SaveAs(cp + fnm);
4
Contributors
8
Replies
9
Views
5 Years
Discussion Span
Last Post by desynch
0

Though the file uploaded can be seen through windows explorer, it is not shown in solution explorer.

Do you mean the file can be seen in the corresponding local path of the solution? If so, try refreshing the solution explorer and see if it appears.

Regards,

0

How can I insert the file (image/word) in sql server which is get from File upload ctrl ? Can any one give me example ?

0

Yes dear friend, now I can see it in the solution explorer. Many thanks.

0

The "Show All File" icon solved my problem.

Edited by chaitali238: n/a

0

@Vijayviswanath

You are likely to get solutions if you create a new thread with a appropriate thread title for your problem, as your problem is little different from this one.

0

For future reference, you can use an ASP.NET control like FileUltimate for this purpose.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.