edit datagridview; pencil

Posted on 2006-04-20
Last Modified: 2012-06-27
in the datagridview I start a new record and set dgv.beginedit(true).  How can I make the current row have the pencil mark programatically?
Question by:yanci1179

    Author Comment

    well I made the value of that cell equal to "" and it worked.  Let me know if anybody knows of an actuall property that does this.
    LVL 11

    Accepted Solution

    the pencil mark only apears, if you are in edit mode.
    you can change the edit behaviour by setting the EditMode property of teh datagridview.
    if you want to have such an icon on every row also you are not in edit mode, you will have to draw it by yourself.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Article by: Najam
    Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now