How to edit an entire column for all rows asp:GridView
<p>So I have google'd and searched stackoverflow, and now my brain is overloaded. I am a novice at asp.net, but getting the hang of it.</p>

<p>My current requirement is to have a gridview where upon load, 1 column for all rows is immediately placed into edit mode. I used this question and code to get me going:</p>

<p><a href="http://stackoverflow.com/questions/7654242/gridview-allowing-one-column-to-be-edited-but-not-another">gridview - allowing one column to be edited but not another</a></p>

<pre><code>&lt;asp:gridview id="CustomersGridView"      
              datasourceid="CustomersSqlDataSource"      
              autogeneratecolumns="false"     
              autogenerateeditbutton="true"     
              allowpaging="true"      
              datakeynames="CustomerID"       
runat="server"&gt;      
    &lt;columns&gt;       
        &lt;asp:boundfield datafield="CustomerID" readonly="true" headertext="Customer ID"/&gt;
        &lt;asp:boundfield datafield="CompanyName" readonly="true" headertext="Customer Name"/&gt; 
        &lt;asp:boundfield datafield="Address" headertext="Address"/&gt;       
        &lt;asp:boundfield datafield="City" headertext="City"/&gt;       
        &lt;asp:boundfield datafield="PostalCode" headertext="ZIP Code"/&gt;     
    &lt;/columns&gt; 
&lt;/asp:gridview&gt;
</code></pre>

<p>I have searched and found a few good solutions, however, I do not fully understand them and have been unsuccesful at implementing them. They are:</p>

<p><a href="http://stackoverflow.com/questions/5664068/edit-update-a-single-gridview-field">Edit/Update a single GridView field</a></p>

<p><a href="http://stackoverflow.com/questions/4314845/put-multiple-rows-of-a-gridview-into-edit-mode">Put multiple rows of a gridview into edit mode</a></p>

<p>So my question is, how would you go about placing a column, (e.g, ZIP Code) into edit mode for all rows at the same time?</p>

<p>All help is appreciated! </p>

<p>Thanks!</p>

<p>Stephen </p>
