jitganguly
asked on
Table row does not appear
Hi,
Want to add my dynamic hyperlinks withihn table cell . The table, rows,columsn does not appear at all
Any suggestions ?
System.Web.UI.WebControls. HyperLink h;
Table tblLinks;
TableRow tr;
TableCell tc;
tblLinks = new Table();
while (dxReport.Read())
{
tr = new TableRow();
tc = new TableCell();
h = new HyperLink();
h.NavigateUrl = dxReport[0].ToString();
h.Text = dxReport[0].ToString();
tc.Controls.Add(h);
tr.Cells.Add(tc);
tblLinks.Rows.Add(tr);
Page.Controls.Add(h);
}
Want to add my dynamic hyperlinks withihn table cell . The table, rows,columsn does not appear at all
Any suggestions ?
System.Web.UI.WebControls.
Table tblLinks;
TableRow tr;
TableCell tc;
tblLinks = new Table();
while (dxReport.Read())
{
tr = new TableRow();
tc = new TableCell();
h = new HyperLink();
h.NavigateUrl = dxReport[0].ToString();
h.Text = dxReport[0].ToString();
tc.Controls.Add(h);
tr.Cells.Add(tc);
tblLinks.Rows.Add(tr);
Page.Controls.Add(h);
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
lol
no problem.
no problem.
ASKER
Thanks