Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Follow on... DataGrid partial update

Status
Not open for further replies.

toon10

Programmer
Mar 26, 2004
303
DE
I'm going to get more complex now! I have a datagrid with a SQL table, joined to various views. Is is possible to update any changes made to any fields from the table in the datagrid but lock down the fields in the views?

i.e. Name and Quantity fields come from my table and the other fields on the datagrid come from views. I want to be able to let the user update the Name and Quantity fields if required but either not let them make changes to the view data or have the datagrid just disregard any changes to the view data!

Not sure if I'm making myself clear?

Thanks
Andrew
 
Sorry folks, forget that idea. I have a better solution, I was just being a bit of a muppet! Ignore the above post!

Thanks
 
Are you using a dataset as a datasource for your datagrid?
If so then access the has changes property of the dataset.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top