Prikazi cijelu temu 09.03.2018 12:07
xl_kid Van mreze
Clan
Registrovan od:11.11.2008
Lokacija:-


Predmet:Re: Enter kao tab u DataGridView kako?
Ovo mi sad pravi problem inače radi baz njega

Private Sub CustomDataGridView1_CellEndEdit(sender As Object, e As DataGridViewCellEventArgs) Handles CustomDataGridView1.CellEndEdit

Dim naziv_proizvoda As New Porudzbine_DataSetTableAdapters.ProizvodiTableAdapter

If e.ColumnIndex = 0 Then

If Val(CustomDataGridView1.Rows(e.RowIndex).Cells(e.ColumnIndex).Value) > 0 Then
CustomDataGridView1.Rows(e.RowIndex).Cells(e.ColumnIndex + 1).Value = naziv_proizvoda.NazivProizvoda_ScalarQuery(CInt(Val(CustomDataGrid
View1.Rows(e.RowIndex).Cells(e.ColumnIndex).Value)))

End If

End If
End Sub