<asp:TreeView ID="TreeView1" runat="server">
<SelectedNodeStyle BackColor="#FF6699" Font-Bold="True" ForeColor="Red" />
<Nodes>
<asp:TreeNode Text="新建节点" Value="新建节点">
<asp:TreeNode Text="新建节点" Value="新建节点"></asp:TreeNode>
</asp:TreeNode>
</Nodes>
</asp:TreeView>
DataGridViewCellStyle style = tgv.Nodes[i].DefaultCellStyle;
style.Font = new Font(tgv.Font, FontStyle.Bold);