Click here to Skip to main content
15,851,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want each image generate beside each other but thru this code
images generate vertically one by one.
please help me.


image += @"
<img runat="server" style='height:150px; width:150px; margin:2px; float:left' id='" + Convert.ToString(ds.Tables[0].Rows[0]["ImgName"]) + "' src='../Upload/Photogallery/" + Convert.ToString(ds.Tables[0].Rows[0]["ImgName"]) + "'/>

" + Convert.ToString(ds.Tables[0].Rows[0]["Title"]) + "

";
Posted
Updated 25-Sep-13 4:37am
v3

1 solution

Your question is not so much clear.
It may be helpfull for you how to make the literal to show the image?
 
Share this answer
 
v2

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