Problem with DetailsView

Discussion in '.NET' started by jauner, Feb 26, 2009.

  1. jauner

    jauner

    Joined:
    Feb 26, 2009
    Messages:
    1
    Likes Received:
    0
    I have a detailsview setup in asp.net 2.0 and I need to get at the fields in that view how do i do that?

    Here is the asp.net code

    HTML:
    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False"
               DataSourceID="SqlDataSourceRequest" Height="50px" Width="200px">
                <Fields>
                    <asp:BoundField DataField="RequestDate" HeaderText="RequestDate" SortExpression="RequestDate" />
                    <asp:BoundField DataField="Name" HeaderText="Emp Name" SortExpression="Name" />
                    <asp:BoundField DataField="EquipmentType" HeaderText="EquipmentType" SortExpression="EquipmentType" />
                    <asp:BoundField DataField="PickupDelivery" HeaderText="PickupDelivery" SortExpression="PickupDelivery" />
                    <asp:BoundField DataField="Description" HeaderText="Work Center" SortExpression="Description" />
                    <asp:BoundField DataField="Job" HeaderText="Job" SortExpression="Job" />
                    <asp:BoundField DataField="JobSuffix" HeaderText="JobSuffix" SortExpression="JobSuffix" />
                    <asp:BoundField DataField="Status" HeaderText="Status" SortExpression="Status" />
                </Fields>
            </asp:DetailsView>
     
    jauner, Feb 26, 2009
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.