Solved

Entity Model Binding Source

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 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