Results 1 to 2 of 2

Thread: Code to disable & enable datagrid/Listview

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2005
    Posts
    570

    Code to disable & enable datagrid/Listview

    Hi,

    Please let me know what is the code to disable & enable DataGrid & ListView.

    Regards.

    Seema

    I got it. Datagrid.Enabled = False works fine and ListViw as well.

    Now, I need to know that when user is adding or updating data the "X" close button on right corner should be disabled. How to achieve this.
    Last edited by seema_s; Apr 22nd, 2006 at 09:48 AM.

  2. #2
    Junior Member
    Join Date
    Apr 2005
    Posts
    31

    Re: Code to disable & enable datagrid/Listview

    It's one of the form events you need to override ( OnClosing ).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width