我創建使用代碼behind.I的HTMLTABLE的PDF已經通過線如何刪除單元格和Html表格的行之間的邊界?
HtmlTable table1 = new HtmlTable();
table1.Attributes.Add("border", "1");
這創造了細胞與行之間也邊框設置邊框的表格。我能做些什麼如果我只需要頂部和底部的邊框?
我試過下面的code.but我沒有工作。
table1.Attributes.Add("border-top", "solid");
table1.Attributes.Add("border-bottom", "solid");
請幫助我的人。
如何只設置HtmlTable的頂部和底部邊框?