获取列名的key值
for(int j=0;j<tblAssistRecord.getColumnCount();j++){
System.out.println("第几列"+j+"的值为:"+this.tblAssistRecord.getColumn(j).getKey());
}
本文详细介绍了如何使用Java代码获取表格中的列名,并通过循环遍历每一列,输出其对应的键值。
获取列名的key值
for(int j=0;j<tblAssistRecord.getColumnCount();j++){
System.out.println("第几列"+j+"的值为:"+this.tblAssistRecord.getColumn(j).getKey());
}
893
2431

被折叠的 条评论
为什么被折叠?