windows forms editable gridview

I am having a problem with making my gridview cells be placed in edit mode. I have set the properties on the gridView that I thought would make the gridview editable. However, I cannot type into the GridView cells.
This is for a windows application. So I would need an example or tutorial on using GridViews on a windows application.
What am I missing?
Lawrence AverySystem DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
vb? c#? EF? ADO.Net? can you provide us some code that you have?
0
Lawrence AverySystem DeveloperAuthor Commented:
I am using entity framework to load the datasource of the GridView. When I try to modify a cell, it does not let me enter any data. I know I have turned on the properties needed.
0
Éric MoreauSenior .Net ConsultantCommented:
can you show some code? is your entity loaded from a view or a stored proc ?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Lawrence AverySystem DeveloperAuthor Commented:
It is load from a stored procedure. See attached code.
Experts-GridViewCOde.txt
0
Lawrence AverySystem DeveloperAuthor Commented:
I found the answer-

See article
http://stackoverflow.com/questions/5793619/binding-entity-framework-objects-to-a-datagridview-c-sharp?rq=1

Is that it is creating an anonymous type, and anonymous types are immutable - that is read only. This is why your changes do not get reflected in either the new type or in the original EF object.
0
Éric MoreauSenior .Net ConsultantCommented:
this is where I was heading to. This is why I asked for these important information
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lawrence AverySystem DeveloperAuthor Commented:
I thought so after reading the article.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.