M
marciocamurati
Hi,
At my application I have a DataGrid that was loaded with data for my
Sql Server Ce, at this point it's ok, the data create rows, scroolbar
run ok, etc...
My problem is when I try to change a value of a row for example (column
1, row 1) when I set it the application freeze and I need to restar the
application. Anyone know if it's a DataGrid problem or if this problem
is in my application ?
Code:
Private Function setDataGridValor(ByVal row As Integer)
Dim getOut As Integer = CInt(dataGrid.Item(row, 2))
Dim getIn As Integer = CInt(dataGrid.Item(row, 3))
dataGrid.Item(row, 2) = getOut - 1
dataGrid.Item(row, 3) = getIn + 1
End Function
Private Function selectRow(ByVal row As Integer)
dataGrid.Select(row)
Application.DoEvents()
End Function
:
Thanks.
At my application I have a DataGrid that was loaded with data for my
Sql Server Ce, at this point it's ok, the data create rows, scroolbar
run ok, etc...
My problem is when I try to change a value of a row for example (column
1, row 1) when I set it the application freeze and I need to restar the
application. Anyone know if it's a DataGrid problem or if this problem
is in my application ?
Code:
Private Function setDataGridValor(ByVal row As Integer)
Dim getOut As Integer = CInt(dataGrid.Item(row, 2))
Dim getIn As Integer = CInt(dataGrid.Item(row, 3))
dataGrid.Item(row, 2) = getOut - 1
dataGrid.Item(row, 3) = getIn + 1
End Function
Private Function selectRow(ByVal row As Integer)
dataGrid.Select(row)
Application.DoEvents()
End Function
:
Thanks.