Take a look at the following code:
Some time we need to pass multiple parameters with hyperlink in Gridview, datagrid or any data list control then we can use following code:-
**CODE:-**
**JavaScript Function**
function ShowACP(id, acplabel)
{ if (acplabel == "No")
{
window.location = "#";
}
else
window.location = "Default.aspx?gid=" + id;
}