ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Insert dynamic TextBox Error: Object reference not set to an instance of an object<p>Hi <a class="username" rel="nid@patel"> nid@patel</a>,</p> <p>&nbsp;You are providing wrong id in request.form.getvalue so please check your textbox id according to provide id and then you will not get null value.</p> <p>refer below line of code i have change below code according to your textbox id.</p> <pre class="brush: csharp">string[] textboxValues2 = Request.Form.GetValues(&#34;nozzle_lph&#34;); string[] textboxValues3 = Request.Form.GetValues(&#34;nozzle_price&#34;); string[] textboxValues4 = Request.Form.GetValues(&#34;txt_lat_mm&#34;); string[] textboxValues5 = Request.Form.GetValues(&#34;txt_lat_price&#34;); string[] textboxValues6 = Request.Form.GetValues(&#34;txt_smain_mm&#34;); string[] textboxValues7 = Request.Form.GetValues(&#34;txt_smain_price&#34;); string[] textboxValues8 = Request.Form.GetValues(&#34;txt_main_mm&#34;); string[] textboxValues9 = Request.Form.GetValues(&#34;txt_main_price&#34;); string[] textboxValues10 = Request.Form.GetValues(&#34;txt_mpum_hp&#34;); string[] textboxValues11 = Request.Form.GetValues(&#34;txt_mpump_price&#34;);</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/306828/Insert-dynamic-TextBox-Error-Object-reference-not-set-to-an-instance-of-an-object/https://www.aspforums.net:443/Threads/306828/Insert-dynamic-TextBox-Error-Object-reference-not-set-to-an-instance-of-an-object/Wed, 31 Jul 2019 07:33:47 GMT