Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Entity Model Binding Source

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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