Editable Datagrid

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,
 
I

Ignacio Machin \( .NET/ C# MVP \)

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,
 
G

Guest

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top