网格.GridView.RowHeight=45
网格.RefreshData()
'遍历网格字段全部内容居中
for each cl in 网格.GridView.Columns
cl.AppearanceCell.TextOptions.HAlignment = 2
next
dim styleCondition1=网格.AddColumnStyle("B",1,"红色风险",0,False)
styleCondition1.Appearance.BackColor=Color.FromArgb(-65536)
styleCondition1.Appearance.ForeColor=Color.FromArgb(-1)