listView1 代码问题
listView1.View = View.Details;listView1.AllowColumnReorder = true;
listView1.CheckBoxes = true;
listView1.GridLines = true;
listView1.LabelEdit = true;
listView1.Columns.Add("班级:", 150, HorizontalAlignment.Left);
listView1.Columns.Add("班主任:", 150, HorizontalAlignment.Left);
listView1.Columns.Add("班主任电话:", 150, HorizontalAlignment.Left);
listView1.Columns.Add("该班班长:", 150, HorizontalAlignment.Left);
listView1.Columns.Add("班长电话:", 150, HorizontalAlignment.Left);
listView1.Columns.Add("人数:", 100, HorizontalAlignment.Left);
listView1.Sorting = SortOrder.Ascending;
为什么在listView空间里增加上面的内容但是运行时前面的文字:“班级,班主任,班主任电话。。。。。。”这些项都没显示出来呢~~~~~我就郁闷了 找了好久都找不出毛病来~~~~~