0

Hello! Iam trying to Check Values Of 2 textboxex .. n then Print A certain Amount.. can Any 1 help me....
Code:

If C1.Text = "Agra Fort" & C2.Text = "Delhi" Then
            L8.Text = "800Rs/-"
        End If

Actualyy i have jst Started learning VB.net...
Iam trying to Check from combo box that if combobox1 has text Agra fort And combobox2 has text delhi , then It will print in label1 the text 800rs/-.
iam unable to take 2 values here... can any 1 plz tell me How to use AND command here...

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by afaque01
0
If C1.Text = "Agra Fort" AND C2.Text = "Delhi" Then
            L8.Text = "800Rs/-"
        End If

Edited by GeekByChoiCe: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.