gridview column 0 column1 boundfield [英] gridview column 0 column1 boundfield
问题描述
你好
当你将gridview拖到它生成的表格时
Column0 Column1 Column2
abc abc abc
abc abc abc
当你创建自己的专栏时Boundfield
它有DataBound
请澄清2 ie( abc 和数据包)之间的区别。
我正在使用 6列创建一个gridview,只需点击一下按钮就可以填充commnads,数据源无。
如何用
建立列
1 数据来源: :无
2, autogenerate为True
1)当您拖动网格视图
并使用数据表
或数据从数据库绑定它小号源
无论你使用什么,它都会自动绑定其中的列数和行数。
2)当你在gridview中手动创建列时如果Autogeneratecolumns
propertytrue
,那么它也会显示您手动创建的列和数据源列。
如果你设置Autogeneratecolumns
propertyfalse
那么它只显示手动创建的列。
Hello
When you drag the gridview unto a form it generates
Column0 Column1 Column2
abc abc abc
abc abc abc
when you create your own column Boundfield
it has DataBound
Pls clarify the difference between the 2 ie (abc and Databound).
I'm creating a gridview with 6 columns which will be populated by commnads from the click of a button, with Data Source None.
how do I build the columns with
1 Data Source :: None
2, autogenerate is True
1) When you dragsgrid view
and bind it from database withdata table
ordata source
whatever you used than it binds automatically with number of columns and rows in it.
2)When you create columns manually in gridview and ifAutogeneratecolumns
propertytrue
then it shows your manually created columns and data source column as well.
if you setAutogeneratecolumns
propertyfalse
then it shows only manually created columns.
这篇关于gridview column 0 column1 boundfield的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!