TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Narayana
NA
94
15.4k
How select Default today date in textbox control?
Mar 14 2017 12:53 PM
Source code :
<asp:TextBox ID="txtfrmDate" runat="server" Height="34px" type="date"
class="form-control" ></asp:TextBox>
C# code :
txtfrmDate.text=convert.todatetime(DateTime.Now.ToString()).ToString("mm/dd/yyyy");
or
txtfrmDate.text=DateTime.Now.ToString("mm/dd/yyyy");
If i am running the website .It's not taking defaultly today date.
Reply
Answers (
17
)
mvc related connection invalid problem
I have doubt about performance of web site.