vikas vanvi

vikas vanvi

  • NA
  • 17
  • 2.6k

Add extra column named details to gridview

Nov 24 2013 6:53 AM
i am making a Gridview where i added new column named Details where all details of customer can be seen.

so, how to show details of that particular person of that row which is in another gridview of another page

i have added this link button to page person


<asp:TemplateField HeaderText="ID" InsertVisible="False" SortExpression="ID">
                <EditItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("ID") %>'></asp:Label>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:LinkButton ID="View" runat="server" CommandName="View" CommandArgument='<%#Bind("ID") %>' >View</asp:LinkButton>  
                </ItemTemplate>
            </asp:TemplateField>


and on another page persondetails i have taken a gridview and in sqldatasource provided querystring ID.

so what should i do next so that that i can get that detail of person on clicking linkbutton of gridview.


plzz help

Answers (3)