Asp.net Hyperlink control equivalent to

前端 未结 6 1232
眼角桃花
眼角桃花 2021-02-06 23:35

I wanted to define a HyperLink control in asp.net that produces html output similar to the following:


but can\

6条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 00:24

    I agree with SLaks, but here you go

        
    

    or you can alter the href using

    hyperlink1.NavigateUrl = "#"; 
    hyperlink1.Text = string.empty;
    

提交回复
热议问题