Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Respected Sir,
AOA

I want to display text on image which is retrieved from data base on a listview image templet field.the code is

<itemtemplate>

<asp:Image ID="Image2" runat="server" Width="300" Height="300" ImageUrl='<%# "GetPatientImage.aspx?id=" + Eval("Id") %>' Visible='<%# !(Eval("PatientImage") is DBNull) %>'/>



The sanario is:

I want to display text(Sponsored) on the picture of beneficiaries those are already sponsored.

The image is displayed in listview but I don't know how to display text on it

Thanks
Shahid Afzal
Posted

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