set current date to textbox in asp.net

C#
DateTime. Today. ToString("yyyy/MM/dd");
Source

Also in C#: