VB 6.0 - updating cell values of a datagrid - Asked By rajwant kaur on 14-May-09 06:00 AM

i need to update particular field values in the database directly through the cells in the datagrid,,,
am done with adding rows through datagrid but am not able to change and update cell values of the data grid,,
help is needed urgently
thanks in advance

check the link - Rao B replied to rajwant kaur on 14-May-09 06:06 AM

Private Sub SetCellValue(ByVal myGrid As DataGrid)
   Dim myCell As New DataGridCell()
   ' Use an arbitrary cell.
   myCell.RowNumber = 1
   myCell.ColumnNumber = 1
   ' Change the cell's value using the CurrentCell.
   myGrid(myCell)= "New Value"
End Sub

http://msdn.microsoft.com/en-us/library/z5c4a30a.aspx

updating cell values of a datagrid - rajwant kaur replied to Rao B on 14-May-09 06:08 AM

end of post

updating cell values of a datagrid - rajwant kaur replied to rajwant kaur on 14-May-09 06:13 AM

i need to update particular cell values of datagrid directly,,,,,not through coding
i just wanted to save the changes made to cells into the database
Santhosh N replied to rajwant kaur on 14-May-09 06:52 AM

Check this link explaining  how to update cell values from datagrid in vb 6 to database...

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_23454433.html

Open from the google search box if can not see the responses