Data Grid View Edit Cell Prolem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HassanZ
    New Member
    • Apr 2010
    • 4

    Data Grid View Edit Cell Prolem

    I have a DataGridView and a List<T>

    Code:
    List<T> list1 = ... 
    datagridview1.datasource = list1;
    Now , I want user can edit Cell Content in datagridview1
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    Originally posted by HassanZ
    I have a DataGridViwe and a List<T>

    Code:
    List<T> list1 = ... 
    datagridview1.datasource = list1;
    Now , I want user can edit Cell Content in datagridview1
    So they can... try it

    Comment

    • HassanZ
      New Member
      • Apr 2010
      • 4

      #3
      Originally posted by ThatThatGuy
      So they can... try it
      Are You Sure??

      Comment

      • ThatThatGuy
        Recognized Expert Contributor
        • Jul 2009
        • 453

        #4
        Originally posted by HassanZ
        Are You Sure??
        try it you can edit the DataGridView Cell ....

        Doble click on any cell and edit it

        Comment

        • HassanZ
          New Member
          • Apr 2010
          • 4

          #5
          Originally posted by ThatThatGuy
          try it you can edit the DataGridView Cell ....

          Doble click on any cell and edit it
          How to double click?

          Comment

          • ThatThatGuy
            Recognized Expert Contributor
            • Jul 2009
            • 453

            #6
            Originally posted by HassanZ
            How to double click?
            Practice using the mouse on your computer. Learn clicking, double clicking, moving, and dragging.


            You can look into this tutorial on how to use mouse

            Comment

            • HassanZ
              New Member
              • Apr 2010
              • 4

              #7
              Originally posted by ThatThatGuy
              http://www.mouseprogram.com/

              You can look into this tutorial on how to use mouse
              Sorry , I dont have Internet access . please take a offline resourse.
              thanks a lot for your help

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                HassanZ, you cannot access bytes.com without an internet connection....I 'm not sure why would say something like "I have no internet connection". Anyways, by default, users can edit the contents of the current DataGridView text box cell by typing in it or pressing F2. Please take a look at this article for more information on the topick How to specify the Edit Mode for the DataGridView.

                Comment

                • ThatThatGuy
                  Recognized Expert Contributor
                  • Jul 2009
                  • 453

                  #9
                  Originally posted by HassanZ
                  Sorry , I dont have Internet access . please take a offline resourse.
                  thanks a lot for your help
                  OK you can go in Control Panel of your computer and learn more about Mouse and its properties

                  Comment

                  Working...