How to bind Images to image control

Posted by Jayakumars under ASP.NET on 10/14/2011 | Points: 10 | Views : 3954 | Status : [Member] [MVP] | Replies : 4
Hi

I am design my page client side like this

Upload control this
===================

<asp:FileUpload ID="FupImage" runat ="server" />


Show image control like this
=============================
<asp:Image ID="imgPhoto" runat ="server" Width ="120px" Height ="100px" ImageUrl ="~/Images/Profile.jpg" />

here i am assign default profile assign

my issue i am browse the images then preview and stored db to byte after binded
gridview without image file then when i will selected the corresponding record
image i need show the asp:image control how will do this.

Mark as Answer if its helpful to you


Responses

Posted by: Ketvin on: 10/14/2011 [Member] Starter | Points: 25

Up
0
Down
I am having a same issue ..did you overcome of this problem..so let me know please

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gausi on: 10/14/2011 [Member] Starter | Points: 25

Up
0
Down
Hi R.Jayakumar

I am not able to get your problem ,
could u briefly explain what is your actual problem

Regards,

Gaurav Singh
(gausi)

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 10/14/2011 [Member] Starter | Points: 25

Up
0
Down
hi...
Please clearly depicts your problem....If you want to store imageurl in database...Refer the below link
http://vbdotnetaddict.blogspot.com/2011/06/how-to-store-imageurl-in-database-and.html

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 11/17/2011 [Member] Starter | Points: 25

Up
0
Down
<asp:Image ID="imgPhoto" runat ="server" Width ="120px" Height ="100px" ImageUrl ="~/Images/Profile.jpg" />


through the use of imageurl we bind images in control.

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response