Hello to all,
I need help, how should I make notification in code, that result will be (MsgBox.Show("You must fill less then one of TextBox")), reason is, that user will not be able adding empty rows by clicking on button1.
Realy thanks to all for help.
daniel
I need help, how should I make notification in code, that result will be (MsgBox.Show("You must fill less then one of TextBox")), reason is, that user will not be able adding empty rows by clicking on button1.
Realy thanks to all for help.
daniel
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ...
Me.DataGridView1.Rows.Add(Me.TextZapSt.Text, Me.TextOpis.Text, Me.TextKolicina.Text, Me.TextCena.Text, Me.TextVnos.Text)
Me.TextZapSt.Text = ""
Me.TextOpis.Text = ""
Me.TextKolicina.Text = ""
Me.TextCena.Text = ""
Me.TextVnos.Text = ""