Tuesday, April 10, 2012

Querystring In item template of Gridview


<asp:TemplateField HeaderText="View details">
                    <ItemTemplate>
                        <a href = 'customerdetails.aspx?cid=<%#Eval("clientid")%>&custID=<%#Eval("CustID") %>' target="_blank">View Details</a>
                    </ItemTemplate>
                </asp:TemplateField>

No comments:

Post a Comment