I have two text-boxes and one Submit button. One text box is for account number and the other is for UID. A user enters the account number in one and the UID in the other and when the button is clicked the entry is checked with the vendor number and UID in the database. If the account number is correct the account information is displayed in a Detailview. If the UID is correct the account is displayed in a DetailView. If an incorrect account number is entered an error message is displayed. An error message is displayed if the UID is not correct. We are having problems with incorrect account numbers and UID numbers being entered. The problem I am having is with the logic for the button code behind. I know i need to use a else if in the codeBehind page for the click event but I keep getting an error.Below I have added the aspx page and the aspx.cs page.