Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.8K
2 Posted Topics
This is a Simple one Line code for inserting current System date in to a text box: protected void Page_Load(object sender, EventArgs e) { TextBox1.Text = DateTime.Now.ToString("dd/MM/yyyy"); }
Note : In the keypress event of textbox type the below code if(((int)e.KeyChar >=48 && (int)e.KeyChar <=57)||(int)e.KeyChar==08) { return; } e.Handled=true; //Please note.The Ascii 08 is for allowing Back Space //by Chathanz.. B-)
The End.
Chatthanz