数据绑定字段在运行时未显示

问题描述:

在运行时未显示数据绑定字段..我可以知道是什么问题吗?

Databound field not shown at run time..may i know what is the problem?

我确定没人能理解您的问题除了一些稀有的人(也是我,因为我能猜出与您的问题有关的东西).我想这是ASP.NET Grid控件的问题.对于您的问题,请更改Grid属性AutoGenerateColumns ="true".
I''m sure Nobody can''t understand your question except some rare people(Also me because i can guess something related your question). I guess it''s it''s ASP.NET Grid control question. For your issue change the Grid property AutoGenerateColumns="true".
<asp:GridView AutoGenerateColumns="True" />


true 为数据源中的每个字段自动创建绑定字段;否则为假.默认值为true.


true to automatically create bound fields for each field in the data source; otherwise, false. The default is true.