GridView HyperLink field in C#

后端 未结 5 730
梦如初夏
梦如初夏 2020-12-17 16:43

Take a look at the following code:



        
5条回答
  •  北海茫月
    2020-12-17 17:46

    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; }

提交回复
热议问题