Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Entity Model Binding Source

Posted on 2012-03-18
4
Medium Priority
?
374 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
  • 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

971 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