title: Logic to check for Null Value in Multiple Textboxes
body: <p>Hi guys, probably a simple one.
  Using C# .Net 4.0 and Visual Studio 2012 Ultimate.</p>
  
  <p>Got the following code:</p>
  
  <pre><code>string part = "";
  part = txtIOpart.Text;
  txtBatchCV.Text = txtBatchIO.Text;
  txtPartCV.Text = part;
  txtExternalCV.Text = Sqlrunclass.SplitSpec_External(part, pg);
  txtInternalCV.Text = Sqlrunclass.SplitSpec_Internal();
  txtABSCV.Text = Sqlrunclass.SplitSpec_cvABS();
  txtOilCV.Text = Sqlrunclass.SplitSpec_OilSeal();
  
  txtBarCV.Text = "*" + Sqlrunclass.SplitInfo_ASno(part, pg) + "*";
  txtBarNumCV.Text = txtBarCV.Text;
  txtLocnCV.Text = Sqlrunclass.SplitInfo_Location();
  txtFitsCV.Text = Sqlrunclass.SplitInfo_Desc();
  txtHeightCV.Text = Sqlrunclass.SplitSpec_Height();
  txtDiameterCV.Text = Sqlrunclass.SplitSpec_Diameter();
  txtCirclitCV.Text = Sqlrunclass.SplitSpec_Circlit();
  
  picTypeCV.Image = ftpclass.Download("CVspecType" + Sqlrunclass.SplitSpec_TypeCV() + ".jpg", "ftp.shaftec.com/Images/TypeJpg", "0095845|shafteccom0", "4ccc7365d4");
  
  if (txtBatchCV.Text == null || txtBatchCV.Text == "")
  {
      txtBatchCV.Text = "ALL";
  }
  </code></pre>
  
  <p>As you can see at the bottom I'm checking the batch, but I need to check all of the data thats being set by a bunch of methods. Each one will have a different txt output if it sees a null or blank txt.  Is there anyway to shorten this code?</p>