C#, ASP.NET - NullReferenceException - Object reference not set to an instance of an object
<p>Definition of variables in use:</p>

<pre><code>Guid fldProId = (Guid)ffdPro.GetProperty("FieldId");
string fldProValue = (string)ffdPro.GetProperty("FieldValue");
FormFieldDef fmProFldDef = new FormFieldDef();
fmProFldDef.Key = fldProId;
fmProFldDef.Retrieve();
string fldProName = (string)fmProFldDef.GetProperty("FieldName");
string fldProType = (string)fmProFldDef.GetProperty("FieldType");
</code></pre>

<p>Lines giving the problem (specifically line 4 (hTxtBox.Text = ...)):</p>

<pre><code>if (fldProType.ToLower() == "textbox")
{
    Label hTxtBox = (Label)findControl(fldProName);
    hTxtBox.Text = fldProValue;
}
</code></pre>

<p>All data is gathered from the database correctly, however the label goes screwy. Any ideas?</p>
