Using SQL Server

I want to check two values in two table. 

I have two integer value (value1, value2)

Table1

```
ID Value

001 200
002 300
...

```

Table2

```
ID Value

001 300
002 400
...

```

Now I want to check whether value1 and value2 is matching with table1 value and table2 value

Tried Query

```
SELECT value from table1 Where  id = '" & textbox1.Text & "'

```

Condition

I want to check whether the value1 is matching with table1 or table2, then value2 is matching with table1 or table2. If it is matching then show the value otherwise null.

How to make a query. 

Need Query help