private string BindPhoto(int id)
 {
     StringBuilder shtml = new StringBuilder();
     ShowShop.Common.SysParameter sp = new ShowShop.Common.SysParameter();
     ShowShop.BLL.Product.ProductAlbum bll = new ShowShop.BLL.Product.ProductAlbum();
     DataTable dts = bll.GetProAlbumAll(0, id, 1);
     StringBuilder str = new StringBuilder();
     int j = 1;
     shtml.Append("<table border='0'>");
     shtml.Append("<tr>");
     for (int i = 0; i < dts.Rows.Count; i++)
     {
         shtml.Append("<td align='center'><img width=\"100px\" height=\"100px\" src=\"" + sp.DummyPaht + dts.Rows[i]["originaladdress"].ToString() + "\"/><br/><br/><span onclick=\"DelProAlbum(" + dts.Rows[i]["id"].ToString() + ");\"  style=\"cursor:hand;width:45px\" >删除</span></td>");
         if (j % 6 == 0)
         {
             shtml.Append("</tr><tr>");
         }
         j++;
     }
     shtml.Append("</tr></table>");
     return shtml.ToString();
 }
 private void BindInfo(int ProductID,int SpecificaticationSignId,int IsSpecialspecificationsSign)
 {
     ShowShop.BLL.Product.ProductAlbum bll = new ShowShop.BLL.Product.ProductAlbum();
     DataTable dt = bll.GetProAlbumAll(ProductID, SpecificaticationSignId, IsSpecialspecificationsSign);
     if (dt.Rows.Count > 0)
     {
         if (dt.Rows[0]["OriginalAddress"].ToString().Contains("#"))
         {
             this.TitleColor.Value = dt.Rows[0]["OriginalAddress"].ToString().Replace("#", "");
             this.rblSpecSign.SelectedValue = "1";
             this.ColorSign.Style.Value = "display:";
             this.ColorAddressImages.Style.Value = "display:none";
             Color = dt.Rows[0]["OriginalAddress"].ToString().Replace("#", "");
         }
         else
         {
             ShowShop.Common.SysParameter sp = new ShowShop.Common.SysParameter();
             this.SignImages.Text = "<img width='20px' alt='上传的图标' height='20px' src='" +sp.DummyPaht+ dt.Rows[0]["OriginalAddress"].ToString() + "'>";
             this.rblSpecSign.SelectedValue = "2";
             this.ColorSign.Style.Value = "display:none";
             this.ColorAddressImages.Style.Value = "display:";
             ViewState["ColorSignImages"] = dt.Rows[0]["OriginalAddress"].ToString();
         }
         ViewState["ID"] = dt.Rows[0]["id"].ToString();
         this.litaAlbum.Text =this.BindPhoto(Convert.ToInt32(dt.Rows[0]["id"].ToString()));
     }
 }