Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please give me the code in c# for upload image using file upload control and preview in image control and save that image in sql server or database.
Posted
Comments
George Jonsson 16-Oct-14 1:51am    
Sorry, but no one is here to just give you code.
If you already know the controls to use, search for info on MSDN. The examples there are pretty good.
Or search the articles in CodeProject there are plenty of good tips on this site.
Then you can come back with a more specific question.

1 solution

For a start c# is not a user interface so you can't preview an image in c#, you need to decide on a UI.

If you do a simple search [^]there is plenty of code to upload a file you can use.
 
Share this answer
 

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