asp.net中的datagridview [英] datagridview in asp.net
本文介绍了asp.net中的datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在我的网页中给出了用于获取datagridview的编码,但这没有显示
有什么问题,请大家帮忙.
我在多视图表中给出了
I have give this coding for get datagridview in my webpage, but this is not display
What is the problem please anybody help.
I given within multiview table
<asp:View ID="View4" runat="server">
<asp:GridView ID="GridView1" runat="server" Height="82px" style="z-index: 103; left: 638px; position: absolute; top: 382px" CaptionAlign="Left">
<Columns>
<asp:BoundField HeaderText="Role" />
<asp:BoundField HeaderText="Name" />
<asp:BoundField HeaderText="Phone" />
<asp:BoundField HeaderText="Fax" />
</Columns>
</asp:GridView></asp:View>
推荐答案
如果未应用DataSource, DataGridView 将不显示任何行,甚至标题也不会显示.
谢谢
-Amit.
Hi,
DataGridView will not display any row not even header if DataSource is not applied.
thanks
-Amit.
这篇关于asp.net中的datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文