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...

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

Thanks..... me done....
How to mark this Thread as solved?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.