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
fpleyer76
NA
2
0
Databinding: Add new with checkboxes on Form
Mar 9 2004 3:13 AM
Hi, I have a problem with a dataform Application using c# and MS SQL Server 2000. If I only have Textboxes on my form everything works fine (Navigation, Update, Add, Delete). When I also have a checkbox on my form which refers to a TINYINT field in my DB I cant add a new row. Updating and Navigation works fine. When I hit the ADD button on my form the fields does not clean up the fields – even the textfield have their old values. Code for binding the checkbox: chkFieldValue[curCol].DataBindings.Add("Checked", DS_SelTable, "SelTable." + ColName); Code for the add-button: BindingContext[DS_SelTable,"SelTable"].AddNew(); Can anyone help ? Thanks Frank
Reply
Answers (
1
)
how to get InstanceName in advance?
Formula Editor Dialog in .Net