Drizzt109 Posted June 22, 2004 Posted June 22, 2004 How do i change an existing cell in a DataGrid from one value to another value? The DataGrid control seems not ot have any Set methods... Quote
JABE Posted June 23, 2004 Posted June 23, 2004 Datagrids are usually bound to data sources such as a datatable or dataview and it is the datasource that is typically modified and not the datagrid itself. However, you can get/set datagrid cell values using theDataGrid.Item(row, col). Quote
Drizzt109 Posted June 25, 2004 Author Posted June 25, 2004 DataGrids actually i don't see that property in the DataGrid object... Quote
JABE Posted June 26, 2004 Posted June 26, 2004 You're probably using C#. Use theDataGrid[row, col]. Quote
Drizzt109 Posted June 28, 2004 Author Posted June 28, 2004 note One thing i noticed, when i update the grid using that property, it freezes the program when the cells are beyond the viewable area. I wonder what could cause this? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.