Deleting template column
<p>Im using ASP.NET, with c#, with visual studio 2008.</p>

<p>I have a datagrid, and I have a Template column in the datagrid.
I have copied the datagrid from another .aspx. The template column is made for delete purposes(rows of data results), </p>

<p>but I don't need this template column anymore. So I have tried removing it. But when executing I get the error:
"System.ArgumentOutOfRangeException = specified argument was out of range. parameter name index."</p>

<p>The error is thrown when it reaches the line: DataGrid1.DataBind();</p>

<p>How can i fix this ?</p>

<p>Thanks..</p>
