Help using a few text boxes to display and save data to database
<p>Let's say I have a db table like so:</p>

<pre><code>Notes:
 -ID
 -Name
</code></pre>

<p>Then I have a product edit form that has 3 textboxes in which the user can save up to 3 different notes for a specific product. What is the best way to handle populating and then saving the data? If I use the code below to display it, how do I save it, as the textbox doesn't know the id of the note.</p>

<pre><code> var f = db.ItemsFeatures.Where(x=&gt; x.ItemID == q.ItemID).Select(x =&gt; x);
        if (f.Any())
        {
            try
            {
                txtItem1.Text = f.First().Name.ToString();
                txt1 = f.First().FeatureID;

                txtItem2.Text = f.Skip(1).First().Name.ToString();
                txt2 = f.Skip(1).First().FeatureID;

                txtItem3.Text = f.Skip(2).First().Name.ToString();
                txt3 = f.Skip(2).First().FeatureID;
            }
            catch { }
        }
</code></pre>

<p>Would I use hidden fields? I have a feeling there is a better way to go about this.</p>
