Solved

Entity Model Binding Source

Posted on 2012-03-18
4
369 Views
Last Modified: 2012-04-26
I am playing around with an entity model and a binding source to get a feel for how they can be used together on a form.  I currently have code that will allow me to save changes and delete items from the entity model but I am unable to determine how I can add a new record.  The issue is that while I can add the new record I am not able to select the new item no matter how I do it.  I thought that I could just using the BindingSource.AddNew() method but this doesn't work.

Can someone provide me a simple working example of how to accomplish this task.
0
Comment
Question by:kmcbrearty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:ruffone
ID: 37736620
0
 
LVL 3

Author Comment

by:kmcbrearty
ID: 37737282
This is a whats new document for Visual Studio 11.  Is this what you meant to post, because I can not see how this is applicable?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37740176
0
 
LVL 3

Author Closing Comment

by:kmcbrearty
ID: 37897681
Thank you for the information.  I ended up taking a different approach with this.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question