How to give an initial value to textBox?

前端 未结 4 1469
谎友^
谎友^ 2021-01-14 17:03

I want my C# program to have initial values for its textboxes. For example, in one of the textboxes, it should say \"Please enter your name\"

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-14 17:34

    For this type of effect you need java script.Because java script provide you functionality of mouse hover and mouse out these are the functions which provide you the same functionality which u seeing in this page of search bar. If you need code reply me i can give you.

提交回复
热议问题