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
Vishnu Bhangale
NA
264
46k
Print Current Date in repeater control in asp.net
Feb 14 2015 8:14 AM
Hello,
I am trying to print current date on repeater control .Date should be print on Label .Date is not from DataBase
I find control i.e. Label but not work my code is..
DateTime dt = DateTime.Now;
Label lbl = Repeater1.FindControl("lblcurrentdate") as Label;
lbl.Text = String.Format("{0:dd/MM/yyyy}", dt);
Reply
Answers (
2
)
C#.Net
How to Connect MySql database which is in cPanel using C#