Ok, as in my other post i asked this!!
and the reason of
is because when its blank and you click the update, if the field your updating is blank from start, it wont update it will come up with an error!!
why? please help me..
VB.NET:
If TextBox7.Text.Contains(ComboBox1.Text) Then
If ComboBox1.Text = "" Then
Else
TextBox7.Text = TextBox7.Text.Replace(ComboBox1.Text, TextBox1.Text)
End If
End If
If TextBox7.Text.Contains(ComboBox2.Text) Then
If ComboBox2.Text = "" Then
Else
TextBox7.Text = TextBox7.Text.Replace(ComboBox2.Text, TextBox2.Text)
End If
End If
If TextBox7.Text.Contains(ComboBox7.Text) Then
If ComboBox7.Text = "" Then
Else
TextBox7.Text = TextBox7.Text.Replace(ComboBox7.Text, TextBox10.Text)
End If
End If
If TextBox7.Text.Contains(ComboBox3.Text) Then
If ComboBox3.Text = "" Then
Else
TextBox7.Text = TextBox7.Text.Replace(ComboBox3.Text, TextBox8.Text)
End If
End If
If TextBox7.Text.Contains(ComboBox4.Text) Then
If ComboBox4.Text = "" Then
Else
TextBox7.Text = TextBox7.Text.Replace(ComboBox4.Text, TextBox3.Text)
End If
End If
If TextBox7.Text.Contains(ComboBox5.Text) Then
If ComboBox5.Text = "" Then
Else
TextBox7.Text = TextBox7.Text.Replace(ComboBox5.Text, TextBox4.Text)
End If
End If
and the reason of
VB.NET:
If Combobox1.Text = "" Then
why? please help me..