避免数据库头 [英] avoid the database headers
本文介绍了避免数据库头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在制作vb.net Windows应用程序.
我有一个Datagrid视图,正在从网格中的数据库中获取数据.
数据库的标题位于网格标题中.
问题是我不想使用数据库标头,而是想要自己的标头.
我想在网格中拥有自己的标题.
Hello to all,
I am making vb.net windows application.
I have a Datagrid view and I am fetching the data from database in the grid.
The headers of the database are coming in grid header.
The thing is that I don''t want to take database header, I want to take my own header.
I want to have my own headers in the Grid.
How to avoid database headers?
推荐答案
将datagrid AutoGenerateColumns属性设置为false.
Set datagrid AutoGenerateColumns propriety to false.
这篇关于避免数据库头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文