Click here to Skip to main content
14,638,023 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100