Asp.net Hyperlink control equivalent to

前端 未结 6 1234
眼角桃花
眼角桃花 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:17

    If you want to add the value on aspx page , Just enter clickhere

    If you are trying to achieve it via Code-Behind., Make use of the Hyperlink control

    HyperLink hl1 = new HyperLink();
    hl1.text="Click Here";
    hl1.NavigateUrl="http://www.stackoverflow.com";
    

提交回复
热议问题