I have gridview inside detail view and i want that if i press new button it will automatically give me the new form for both the gridview how can i?
<asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" CellPadding="4" DataKeyNames="PurchaseOrderNumber" DataSourceID="Purchaseorderselect_sql" ForeColor="#333333" GridLines="None" Height="50px" Width="125px">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<CommandRowStyle BackColor="#E2DED6" Font-Bold="True" />
<EditRowStyle BackColor="#999999" />
<FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True" />
<Fields>
<asp:BoundField DataField="JobNumber" HeaderText="JobNumber" SortExpression="JobNumber" />
<asp:BoundField DataField="PurchaseOrderNumber" HeaderText="PurchaseOrderNumber" ReadOnly="True" SortExpression="PurchaseOrderNumber" />
<asp:BoundField DataField="Vendor" HeaderText="Vendor" SortExpression="Vendor" />
<asp:BoundField DataField="AmountInWords" HeaderText="AmountInWords" SortExpression="AmountInWords" />
<asp:BoundField DataField="OtherComments" HeaderText="OtherComments" SortExpression="OtherComments" />
<asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" />
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" ShowInsertButton="True" />
<asp:TemplateField HeaderText="Description ">
<ItemTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="itemNo" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
<asp:BoundField DataField="itemNo" HeaderText="itemNo" ReadOnly="True" SortExpression="itemNo" />
<asp:BoundField DataField="PurchaseOrderNumber" HeaderText="PurchaseOrderNumber" SortExpression="PurchaseOrderNumber" />
<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
<asp:BoundField DataField="Quantity" HeaderText="Quantity" SortExpression="Quantity" />
<asp:BoundField DataField="UnitPrice" HeaderText="UnitPrice" SortExpression="UnitPrice" />
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<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="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" DeleteCommand="DELETE FROM [Purchase_order_Description] WHERE [itemNo] = @itemNo" InsertCommand="INSERT INTO [Purchase_order_Description] ([itemNo], [PurchaseOrderNumber], [Description], [Quantity], [UnitPrice]) VALUES (@itemNo, @PurchaseOrderNumber, @Description, @Quantity, @UnitPrice)" SelectCommand="SELECT * FROM [Purchase_order_Description] WHERE ([PurchaseOrderNumber] = @PurchaseOrderNumber)" UpdateCommand="UPDATE [Purchase_order_Description] SET [PurchaseOrderNumber] = @PurchaseOrderNumber, [Description] = @Description, [Quantity] = @Quantity, [UnitPrice] = @UnitPrice WHERE [itemNo] = @itemNo">
<DeleteParameters>
<asp:Parameter Name="itemNo" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="itemNo" Type="Int32" />
<asp:Parameter Name="PurchaseOrderNumber" Type="String" />
<asp:Parameter Name="Description" Type="String" />
<asp:Parameter Name="Quantity" Type="Int32" />
<asp:Parameter Name="UnitPrice" Type="Decimal" />
</InsertParameters>
<SelectParameters>
<asp:QueryStringParameter DefaultValue="-1" Name="PurchaseOrderNumber" QueryStringField="field1" Type="String" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="PurchaseOrderNumber" Type="String" />
<asp:Parameter Name="Description" Type="String" />
<asp:Parameter Name="Quantity" Type="Int32" />
<asp:Parameter Name="UnitPrice" Type="Decimal" />
<asp:Parameter Name="itemNo" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</ItemTemplate>
</asp:TemplateField>
</Fields>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
</asp:DetailsView>
<asp:SqlDataSource ID="Purchaseorderselect_sql" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" DeleteCommand="DELETE FROM [Purchase_order] WHERE [PurchaseOrderNumber] = @PurchaseOrderNumber" InsertCommand="INSERT INTO [Purchase_order] ([JobNumber], [PurchaseOrderNumber], [Vendor], [AmountInWords], [OtherComments], [Date]) VALUES (@JobNumber, @PurchaseOrderNumber, @Vendor, @AmountInWords, @OtherComments, @Date)" SelectCommand="SELECT * FROM [Purchase_order] WHERE ([PurchaseOrderNumber] = @PurchaseOrderNumber)" UpdateCommand="UPDATE [Purchase_order] SET [JobNumber] = @JobNumber, [Vendor] = @Vendor, [AmountInWords] = @AmountInWords, [OtherComments] = @OtherComments, [Date] = @Date WHERE [PurchaseOrderNumber] = @PurchaseOrderNumber">
<DeleteParameters>
<asp:Parameter Name="PurchaseOrderNumber" Type="String" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="JobNumber" Type="String" />
<asp:Parameter Name="PurchaseOrderNumber" Type="String" />
<asp:Parameter Name="Vendor" Type="String" />
<asp:Parameter Name="AmountInWords" Type="String" />
<asp:Parameter Name="OtherComments" Type="String" />
<asp:Parameter DbType="Date" Name="Date" />
</InsertParameters>
<SelectParameters>
<asp:QueryStringParameter DefaultValue="-1" Name="PurchaseOrderNumber" QueryStringField="field1" Type="String" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="JobNumber" Type="String" />
<asp:Parameter Name="Vendor" Type="String" />
<asp:Parameter Name="AmountInWords" Type="String" />
<asp:Parameter Name="OtherComments" Type="String" />
<asp:Parameter DbType="Date" Name="Date" />
<asp:Parameter Name="PurchaseOrderNumber" Type="String" />
</UpdateParameters>
</asp:SqlDataSource>