How not to use a label when updating the database
<p>I get some data from the database that I want to use to update another Database row.</p>

<p>I know how to do that if I put the first value on a label and then use that.</p>

<p>//First I get the Name I want</p>

<pre><code>DataTable table = GetName();
NameList.DataSource = table;
NameList.DataBind();


&lt;asp:Label ID="lblName" runat="server" Text='&lt;%#Eval("Name") %&gt;' /&gt;
</code></pre>

<p>But how do I do that whitout using a label like this.</p>

<p>//And then I want to add the name to another datarow</p>

<pre><code>protected void btnName_Click(object sender, EventArgs e)
{
    string Name = lblName.text;

    if (CategoryAccess.AddName(Name) != 0)
}
</code></pre>

<p>I Want to change the <code>lblName.Text</code> to something better then the label. Because I dont need the label. I just need the value that the label has.</p>
