<div style="width:100%; height:200px; overflow:scroll; border-color:White;">
<asp:GridView ID="UsersGridView" runat="server"
CssClass="label" ShowHeaderWhenEmpty="True" Width="100%"
AllowSorting="True" HeaderStyle-BackColor="LightGray" CellPadding="4"
ForeColor="#333333" GridLines="None" DataSourceID="UsersDataSource" >
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField HeaderText="Fleet Description" ReadOnly="True"
HeaderStyle-Wrap="false" HtmlEncode="True" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="Fleet Code" HeaderText="Fleet Code" ReadOnly="True"
HeaderStyle-Wrap="false" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="First Name" HeaderText="First Name" ReadOnly="True"
HeaderStyle-Wrap="false" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="Last Name" HeaderText="Last Name" ReadOnly="True"
HeaderStyle-Wrap="false" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="Username" HeaderText="User Name" ReadOnly="True"
HeaderStyle-Wrap="false" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="Email" HeaderText="Email" ReadOnly="True"
HeaderStyle-Wrap="false" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="Phone" HeaderText="Phone" ReadOnly="True"
HeaderStyle-Wrap="false" >
<HeaderStyle Wrap="False"></HeaderStyle>
</asp:BoundField>
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"></HeaderStyle>
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
<asp:SqlDataSource ID="UsersDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
SelectCommand="SELECT UserDataAssociation.Fleet as "Fleet Code", UserDataAssociation.FirstName as "First Name", UserDataAssociation.LastName as "Last Name", aspnet_Users.UserName, aspnet_Membership.Email,
UserDataAssociation.Phone
FROM aspnet_Membership INNER JOIN
aspnet_Users ON aspnet_Membership.UserId = aspnet_Users.UserId INNER JOIN
UserDataAssociation ON aspnet_Membership.UserId = UserDataAssociation.UserId"></asp:SqlDataSource>
</div>
selectステートメントを使用したsqldatasourceのこのグリッドビューがあります。ただし、ページが読み込まれると、グリッドビューにはデータソースによって作成された元の列が2倍になります。明らかにそうではないことを望みます。
私は何が間違っているのですか?
ありがとう