开发者

how to create the image dynamically in ASP.NET?

开发者 https://www.devze.com 2022-12-19 21:36 出处:网络
how to create开发者_运维百科 the image dynamically based on the points i get from table if point =1

how to create开发者_运维百科 the image dynamically based on the points i get from table

if point =1

my image must be displayed once,

if point=2

imgae has to be display twice.... in that way


i have found the answer

get the count values in a datatable and based on the value use

for(int i=0;i<value;i++)
{
string strimage="";
strimage="<img src=''.../>";

}

div.innerhtml=strimage;
0

精彩评论

暂无评论...
验证码 换一张
取 消