Editable Datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am trying to create an application in which at the first time the
page displays an readonly datagrid, a check box and a button. If an user
checks the check box and clicks on the button, the first column of the
datagrid should be editable and when user edits first column which is primary
key of 1 table, the rest row should be filled with values from the database.

Can any one help me with how this can be made.

Thanks,
 
Hi,

It depends of how you define your datagrid, you could start by setting the
EditItemIndex property. take a look at one of the articles from MSDN
magazine dealing with the datagrid, there you will find a lot of useful
info.

cheers,
 
This will not be of any help about the question you asked, but from a design
point of view your implementations sounds "strange". Have you thought of
keeping the Grid protected and getting the search criteria from a dialog
instead?
 
Back
Top