DataRow in asp.net shows error
<p>I have code where i, gettin the values inside a table to a datarow and then further copying it to the datatable.</p>

<pre><code>DataRow[] dr = datatable.Select("Name=Name");
document = dr.CopyToDataTable()
</code></pre>

<p>where datatable is object of DataTable
and document also is a DataTable where the values of the column "Name" are store. which i further bind inside DropDownList.</p>

<p>it worked fine. But suddenly im starting to get error as "Object reference not set to instance of an object.</p>

<p>Is there anything possible i can do?</p>
