Solved

Entity Model Binding Source

Posted on 2012-03-18
4
365 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 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…

839 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