隐藏repeater控件中的image控件
int j=yu.Tables[0].Rows.Count;
for(int i=0;i<j;i++)
{
img=(System.Web.UI.WebControls.Image)Repeater3.Items[i].FindControl("Image1");
if (img.ImageUrl=="")
img.Visible=false;
}
string sql="select *from dbo.testpapercontentlist,dbo.fill where dbo.fill.subjectid=dbo.testpapercontentlist.subjectid and testpaperid='"+Label14.Text.ToString().Trim()+"' order by placeid";
DataSet yu=conn.getresult(sql);
--------------------------2006.12.6---------------------------