You must Sign In to post a response.
  • Category: Visual Studio

    How to prevent selecting same item in datagridview using checkbox column

    datagridview contains check box cell and in that grid if we select one item by clicking check box in first row then in other row of the gridview we can't select same item by clicking check box .how to prevent selecting same item
  • #754333
    Hai Rajanikant,
    Are you implementing some logic when you selected the row by checking the checkbox? if so then remove that logic from there. And then you can have a button below to the grid which should do the same logic for all the rows which are selected.
    By this way, if you implement again the same row, it will not affect anything.
    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com

  • #754353
    Hi,

    You do one thing once you select something in the list then remove that before select the other.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/


  • Sign In to post your comments