protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) {
if (e.Row.RowType == DataControlRowType.Header)
{
foreach(TableCell cell in e.Row.Cells)
cell.Attributes.Add("style","FONT-WEIGHT:normal");
}
}
參考:http://topic.csdn.net/t/20060712/22/4876677.html#
沒有留言:
張貼留言