I usually use something like this for various reasons throughout an application:
if (String.IsNullOrEmpty(strFoo)) { FooTextBox.Text = \"0\"; } else {
You could use the ternary operator:
return string.IsNullOrEmpty(strTestString) ? "0" : strTestString FooTextBox.Text = string.IsNullOrEmpty(strFoo) ? "0" : strFoo;