What's the Literal control used for and what's the difference to the Label Control in asp.net?

后端 未结 7 2065
耶瑟儿~
耶瑟儿~ 2021-01-04 02:06

What Literal control is used for in asp.net? and What is the difference between them and Label control?

7条回答
  •  星月不相逢
    2021-01-04 02:43

    • We can use literal control in the title tag whereas label cannot be used in the title tag
    • Label can be used to set focus on other controls like Textbox. Whereas Literal simply rander the static text on the web page

提交回复
热议问题