Click here to Skip to main content
15,919,613 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to use image upload type option in asp.net windows form c#.
and as we do it web forms saving images in a folder.. so can we do it it windows form too or in windows form we can only store to database??
Posted

I found this article by searching Code Project with the keywords: upload image c#. Information in this article may help get you started.

Uploading an Image and Displaying It on the UI Page[^]

You can code your program to store an image in a folder or in a database.
 
Share this answer
 
Comments
manishmns12 25-May-14 7:42am    
thanks alot..but i was finding for windows form not web form
Kornfeld Eliyahu Peter 25-May-14 7:46am    
And why your question tag is ASP.NET?
And what does it mean 'uploading' and image in Windows Form application?
manishmns12 25-May-14 7:49am    
sorry for the tag...
i want to upload a pic from windows form so hw cn i do that?
[no name] 25-May-14 8:40am    
You need to clearly ask a question for us to be able to help you. "hw"? "cn"? What are those words? What is a "asp.net windows form c#"? Upload a pic from where to where? Did you look at the WebClient class to see if that meets the need for whatever it is that you are actually trying to do?
in WinForm you can use OpenFileDialog [^] to browse the file and then you can use File.Copy[^] to copy the file to another location
Check this SO Answer for sample code[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900