TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shree Patil
NA
12
5.3k
How to download image in server to my pc??
Apr 5 2017 1:07 AM
Hello,
I am try to implement downlaod image in server to web app but show the below error.How to resolved this error.....
"An exception occurred during a WebClient request."
This is my code:-
using (WebClient webClient = new WebClient())
{
System.Uri uri = new System.Uri(Convert.ToString(Dt.Rows[0]["Image"]));
string specialfolder = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
webClient.DownloadFile(Convert.ToString(uri), specialfolder);
//webClient.DownloadFile(Convert.ToString(Dt.Rows[0]["Image"]), @"C:\Users\PRIYANKA\Downloads");
}
Help me
thanks in advance.....
Reply
Answers (
1
)
how to use pivot for this task
how to view all files in a folder