Thursday 5 December 2013

How to add image into a webform in visual studio using c#.





Firstly add image by clicking the option "add existing item" from the website "demo"(can give any name) on solution explorer.
Then we can select any image from computer and add it in solution explorer.
From toolbox then select "image " into web form demo1.
Then change properties of it where imageurl option is to be changed by adding image.
web form demo1 in website demo
Clicking option add existing item from website demo
Here remember to change file name to all files and select any image
Now add image from toolbox to webform like this

select image and change property by adding image into  image url like this
image added

No comments:

Post a Comment