Hi i am using given below backend coding...
protected void Page_Init(object sender, EventArgs e)
{
int i=1;
string WebPath = string.Empty;
HtmlTable tblGallery = new HtmlTable();
tblGallery.Attributes.Add("id", "gallery");
tblGallery.Width = "732";
tblGallery.Border = 0;
tblGallery.CellSpacing = 0;
tblGallery.CellPadding = 0;
HtmlTableRow tblRow = new HtmlTableRow();
tblRow.Attributes.Add("id","gallery1a");
tblRow.Attributes.Add("class","display");
pnlTable.Controls.Add(tblGallery);
AlbumList oAlbum = AlbumList.GetAlbumList(1);
foreach (Album oItem in oAlbum)
{
HtmlAnchor alink = new HtmlAnchor();
HtmlImage img = new HtmlImage();
HtmlTableCell tblCell = new HtmlTableCell();
string tumbnail = "thumbnail";
LinkButton ...
Go to the complete details ...