vb.net更改列的抬头

前端之家收集整理的这篇文章主要介绍了vb.net更改列的抬头前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Public Function ChangeText(ByVal datagridview As DataGridView) datagridview.Columns(0).HeaderText = "编号" datagridview.Columns(1).HeaderText = "版本" datagridview.Columns(2).HeaderText = "箱号" datagridview.Columns(3).HeaderText = "机器码" datagridview.Columns(4).HeaderText = "MAC 地址" datagridview.Columns(5).HeaderText = "操作日期" datagridview.Columns(6).HeaderText = "操作人员" datagridview.Columns(7).HeaderText = "Cutter编号" datagridview.Columns(8).HeaderText = "日志编号" datagridview.Columns(9).HeaderText = "Rank" End Function 原文链接:https://www.f2er.com/vb/258124.html

猜你在找的VB相关文章