How to set DataTable's style, such as borderwidth, etc,
//-- 放入表中ShowPaperInfo.aspx
Table1.BorderWidth=new Unit("1px");
Table1.BorderColor=Color.Black;
Table1.CellPadding=8;
Table1.CellSpacing=0;
Table1.GridLines=GridLines.Both;
TableRow row = new TableRow();
TableCell cell = new TableCell();
row.Height=new Unit("1cm");//控制行高
Table1.BorderWidth=new Unit("1px");
Table1.BorderColor=Color.Black;
Table1.CellPadding=8;
Table1.CellSpacing=0;
Table1.GridLines=GridLines.Both;
TableRow row = new TableRow();
TableCell cell = new TableCell();
row.Height=new Unit("1cm");//控制行高
浙公网安备 33010602011771号