windows forms editable gridview

Posted on 2014-07-30
Last Modified: 2014-07-31
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?
Question by:metro156
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
  • 4
  • 3
LVL 70

Expert Comment

by:Éric Moreau
ID: 40230703
vb? c#? EF? ADO.Net? can you provide us some code that you have?

Author Comment

ID: 40231709
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.
LVL 70

Expert Comment

by:Éric Moreau
ID: 40231734
can you show some code? is your entity loaded from a view or a stored proc ?
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Author Comment

ID: 40231773
It is load from a stored procedure. See attached code.

Author Comment

ID: 40231845
I found the answer-

See article

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.
LVL 70

Accepted Solution

Éric Moreau earned 500 total points
ID: 40231887
this is where I was heading to. This is why I asked for these important information

Author Closing Comment

ID: 40231929
I thought so after reading the article.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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