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
ta mu
NA
201
81.4k
date n time picker values error
Aug 10 2013 12:33 AM
i m using this code and getting error whats wrong
if (sl.ShowDialog() == DialogResult.OK)
{
mytime = sl.monthCalendar1.SelectionStart.AddHours(sl.dateTimePicker1.Value.Hour).AddMinutes(sl.dateTimePicker1.Value.Minute).AddSeconds(sl.dateTimePicker1.Value.Second);
this.Visible = false;
} }
private void timer1_Tick(object sender, EventArgs e)
{
if (mytime.CompareTo(DateTime.Now) < 0)
{
this.Visible = true;
}
}
Error 1 'login.select_values' does not contain a definition for 'dateTimePicker1' and no extension method 'dateTimePicker1' accepting a first argument of type 'login.select_values' could be found (are you missing a using directive or an assembly reference?)
Reply
Answers (
8
)
Excel is not working on IIS server but without IIS is workin
C# add Textbox to List