Binding Multiple Parameter in Hyperlink column - Datagrid - C#

The following code shows how to bind Multiple Parameter in Hyperlink column in a Datagrid - C#

< asp:HyperLink ID="HPL_Wizard" runat="server" Target="_self" 
CssClass="ms-PMSButton" ToolTip="Wizard style configuration" Text='View' 
NavigateUrl='<%# string.Format("SettingsAddApprover.aspx?DeptID={0}&EligibilityID={1}", HttpUtility.UrlEncode(Eval("DeptID").ToString()), HttpUtility.UrlEncode(Eval("EligibilityID").ToString())) % > ' / >

You May Also Like

0 comments