c# 请问怎么跟TABLE控件下做一个超级链接?
请问怎么跟TABLE控件下做一个超级链接?TableRowRow=newTableRow();TableCellCell=newTableCell();Cell.Widt...
请问怎么跟TABLE控件下做一个超级链接?
TableRow Row = new TableRow();
TableCell Cell = new TableCell();
Cell.Width = 250 ;
Cell.Height = 50;
id = ds.Tables[0].Rows[num]["LinkName"].ToString();
//Cell.Text = id;
HyperLink link = new HyperLink();
link.Width = 250;
link.Height = 50;
link.NavigateUrl = "http://" + ds.Tables[0].Rows[num]["LinkUrl"].ToString();
link.Text = id;
请问怎样改可以让这个LINK给CELL.TEXT做超级链接? 展开
TableRow Row = new TableRow();
TableCell Cell = new TableCell();
Cell.Width = 250 ;
Cell.Height = 50;
id = ds.Tables[0].Rows[num]["LinkName"].ToString();
//Cell.Text = id;
HyperLink link = new HyperLink();
link.Width = 250;
link.Height = 50;
link.NavigateUrl = "http://" + ds.Tables[0].Rows[num]["LinkUrl"].ToString();
link.Text = id;
请问怎样改可以让这个LINK给CELL.TEXT做超级链接? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询