SelectedIndexChanged Datagrid

G

Guest

Hi,
I'm trying to update a database based on a entry in a specific cell of a
datagrid. I was wondering if anyone knew the event that could possibly handle
this.
Here is the idea:
There are many columns that are read - only and I want just one that
is writable. I was thinking about taking the data from this cell and
outputting it into a textBox. This would enable me to put the textBox into a
regular 'Update' statement and hence, into the database.
Does anybody know the correct event that I could call in order to extract
this data from the cell. Thanks
 
C

Cor Ligthert [MVP]

Neo,

Is it not easier to make the other columns readonly in the datagrid?

Cor
 

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