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
jrosa
NA
7
0
AddNew during form load
Oct 11 2004 11:19 AM
I have a dialog that I use for adding new items to my database. The following code does not work in the Form_Load event, but will work if I call it from a button after the form has loaded. Does anyone have any ideas how I can accomplish this during the Form_Load? try { this.BindingContext[objLicenseDetail1,"Contact_License"].EndCurrentEdit(); this.BindingContext[objLicenseDetail1,"Contact_License"].AddNew(); } catch (System.Exception eEndEdit) { System.Windows.Forms.MessageBox.Show(eEndEdit.Message); }
Reply
Answers (
2
)
open documents from server
getter+setters "Properties problem"