klornpallier
Technical User
I guess this is really easy if you now how but how do you add a default value to a DataGridView cell. I tried the following off msdn but it dont work:
Private Sub VARIABLE_INPUTDataGridView1_DefaultValuesNeeded(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles VARIABLE_INPUTDataGridView1.DefaultValuesNeeded
With e.Row
.Cells("LOCK_USER").Value = "0"
End With
End Sub
Private Sub VARIABLE_INPUTDataGridView1_DefaultValuesNeeded(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) Handles VARIABLE_INPUTDataGridView1.DefaultValuesNeeded
With e.Row
.Cells("LOCK_USER").Value = "0"
End With
End Sub