If both the values for Textbox1 and Textbox2 are coming from the database and you just need to show the substraction of these two values in Textbox3 then you can build the query something like following
SELECT Value1, Value2, (Value1-Value2) AS Value3
FROM YourTable
and if you need to apply any filter as you have mentioned in the question, you can do something like-
SELECT Value1, Value2, CASE WHEN (Value1-Value2)>1 THEN (Value1-Value2) ELSE NULL END AS Value3
FROM YourTable
If your requirement is something else then this, please let me know with some words of description about your requirement.
:)