Markup
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="insured_first_name" HeaderText="First Name" />
<asp:BoundField DataField="insured_first_name" HeaderText="Middle Name" />
<asp:BoundField DataField="insured_last_name" HeaderText="Last Name" />
</Columns>
</asp:GridView>
the code
GridView1.DataSource = _dataSet
DataBind()
Whenever my GridView fills, if there is no value to return from mine _dataSetfor the field, my GridView will stop filling after that. Should not skip this and continue filling the rest of the grid? GridView does not seem to accept a null / null value. Any work for this?
source
share