Can't get data from textbox
<p>I'm trying to get data from textbox but it says undefined id or something like that. Here is my code. I didn't understand what the problem is. Text1, Text2 and Text3 are my id of textboxes.</p>

<pre><code>  SqlCommandBuilder thisBuilder = new SqlCommandBuilder(thisAdapter);
     DataSet thisDataSet = new DataSet();
     thisAdapter.Fill(thisDataSet, "Odunc");
     DataRow thisRow = thisDataSet.Tables["Odunc"].NewRow();

    thisRow["Book_Name"] = "" + Text1.Text;
    thisRow["Reader_Name"] = "" + Text2.Text;
    thisRow["Expiration_Date"] = "" + Text3.Text;
     thisDataSet.Tables["Odunc"].Rows.Add(thisRow);
     thisAdapter.Update(thisDataSet, "Odunc");
</code></pre>

<p>asp part</p>

<pre><code>   &lt;table style="width:100%;"&gt;
    &lt;tr&gt;
        &lt;td class="style1"&gt;
            Name of Reader&lt;/td&gt;
        &lt;td&gt;
    &lt;input id="Text1" name="Text1" type="text" /&gt;&lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td class="style1"&gt;
            Name of Book&lt;/td&gt;
        &lt;td&gt;
    &lt;input id="Text2"  name="Text2" type="text" /&gt;&lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td class="style1"&gt;
            Expiration Date&lt;/td&gt;
        &lt;td&gt;
    &lt;input id="Text3"  name="Text3" type="text" /&gt;&lt;/td&gt;
        &lt;td&gt;
            &amp;nbsp;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>
