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
John Lester Almenanza
NA
4
1.2k
DateTimePicker
Aug 13 2015 12:48 AM
Sir. How can i rename a DateTimePicker using a button then use its value to get only its minute..
for (int ctr = 1; ctr <=5; ctr++)
{
DateTimePicker dtpno =new DateTimePicker();
dtpno.Name = "dtp_in_" + ctr.ToString();
string dtpmin= dtpno.Text;
string[] dtpparts = dtpmin.Split(':');
try
{
int minute = int.Parse(dtpparts[1]);
MessageBox.Show("minute=" + minute);
}
catch (Exception ex)
{
}
}
Reply
Answers (
1
)
How to convert query in MVC4
How to get a table details using linq to sql storedprocedure