Yes I'm going to add strings of 1 and 0 as if they're binary numbers. The program that I need is this, the first binary number will be asked. If the user typed a number greater than 1, an error message will come out and it will ask to give a binary number again. After that another binary number will be asked and then it will display the result in binary numbers also. I don't know how many variables to declare. I really don't know where to start
Dim Adapter As New OleDbDataAdapter
Dim Command As New OleDbCommand
Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" "))
Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" "))
sqlQuery = MainQuery ...