1、将数据填充表 mytable2、页面上加一个 placeholder --> myholderdim myrow as datarow dim i as integer =0 for each myrow in mytable.rows.count dim myimage as new WebControls.Image myimage.id= "myimage" & i myimage.ImageUrl=ctype( myrow("url"), string) ..... 其他属性定义 myholder.controls.add( myimage) i+=1 end for3、试一把!
dim i as integer =0
for each myrow in mytable.rows.count
dim myimage as new WebControls.Image
myimage.id= "myimage" & i
myimage.ImageUrl=ctype( myrow("url"), string)
..... 其他属性定义
myholder.controls.add( myimage)
i+=1
end for3、试一把!