G
Guest
I have a hyperlink column in the datagrid as follows bound to a column in thr
database. How can i add another query string to it to send Row number of the
datagrid to the target page:
<asp:HyperLinkColumn Target="_parent" DataNavigateUrlField="HREF"
DataNavigateUrlFormatString="detailspage.aspx?id={0}" DataTextField="From"
SortExpression="From" HeaderText="From">
<ItemStyle Width="20%"></ItemStyle>
</asp:HyperLinkColumn>
do somethink like this?
<asp:HyperLinkColumn Target="_parent" DataNavigateUrlField="HREF"
DataNavigateUrlFormatString="detailspage.aspx?id={0}&rownumber"+Datagrid.RowNumber DataTextField="From" SortExpression="From" HeaderText="From">
<ItemStyle Width="20%"></ItemStyle>
</asp:HyperLinkColumn>
Thanks
Manny
database. How can i add another query string to it to send Row number of the
datagrid to the target page:
<asp:HyperLinkColumn Target="_parent" DataNavigateUrlField="HREF"
DataNavigateUrlFormatString="detailspage.aspx?id={0}" DataTextField="From"
SortExpression="From" HeaderText="From">
<ItemStyle Width="20%"></ItemStyle>
</asp:HyperLinkColumn>
do somethink like this?
<asp:HyperLinkColumn Target="_parent" DataNavigateUrlField="HREF"
DataNavigateUrlFormatString="detailspage.aspx?id={0}&rownumber"+Datagrid.RowNumber DataTextField="From" SortExpression="From" HeaderText="From">
<ItemStyle Width="20%"></ItemStyle>
</asp:HyperLinkColumn>
Thanks
Manny