Updating GridView Row from Code Behind
===

When the user changes the text in the textbox's in the edit template and clicks update, when I try to grab those new values it still is graving the old value of the text box.

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="CompanyID" CellPadding="4"  
            GridLines="None" Width="1079px" ForeColor="#333333" 
            OnRowCancelingEdit="GridView1_RowCancelling"
            OnRowUpdating="GridView1_RowUpdating"
            OnRowEditing="GridView1_RowEditing">


            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    
                    <EditItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" 
                            CommandName="Update" CommandArgument='<%# Eval("CompanyID") %>' Text="Update"></asp:LinkButton>
                        &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                            CommandName="Cancel" Text="Cancel"></asp:LinkButton>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Edit" Text="Edit" ></asp:LinkButton>
                    </ItemTemplate>


                </asp:TemplateField>
                


                <asp:TemplateField HeaderText="Issue Date">
                    
                    <ItemTemplate>
                        <asp:Label runat="server" ID="IssueDate" Text='<%#Eval("IssueDate") %>' />                    
                    </ItemTemplate>

                    <EditItemTemplate>
                        <asp:TextBox runat="server" ID="txtIssueDate" Text='<%#Eval("IssueDate") %>' />
                    </EditItemTemplate>
                   
                </asp:TemplateField>


                <asp:TemplateField HeaderText="Notice Intent Response Due">
                    
                    <ItemTemplate>
                        <asp:Label runat="server" ID="NoticeIntentResponseDue" Text='<%#Eval("NoticeIntentResponseDue") %>' />                    
                    </ItemTemplate>

                    <EditItemTemplate>
                        <asp:TextBox runat="server" ID="txtNoticeIntentResponseDue" Text='<%#Eval("NoticeIntentResponseDue") %>' />
                    </EditItemTemplate>
                   
                </asp:TemplateField>


                <asp:TemplateField HeaderText="Deadline For Questions">
                    
                    <ItemTemplate>
                        <asp:Label runat="server" ID="DeadlineForQuestions" Text='<%#Eval("DeadlineForQuestions") %>' />                    
                    </ItemTemplate>

                    <EditItemTemplate>
                        <asp:TextBox runat="server" ID="txtDeadlineForQuestions" Text='<%#Eval("DeadlineForQuestions") %>' />
                    </EditItemTemplate>
                   
                </asp:TemplateField>
                

                <asp:TemplateField HeaderText="Bids Due">
                    
                    <ItemTemplate>
                        <asp:Label runat="server" ID="BidsDue" Text='<%#Eval("BidsDue") %>' />                    
                    </ItemTemplate>

                    <EditItemTemplate>
                        <asp:TextBox runat="server" ID="txtBidsDue" Text='<%#Eval("BidsDue") %>' />
                    </EditItemTemplate>
                   
                </asp:TemplateField>


                <asp:TemplateField HeaderText="Shortlist Notice">
                    
                    <ItemTemplate>
                        <asp:Label runat="server" ID="ShortlistNotice" Text='<%#Eval("ShortlistNotice") %>' />                    
                    </ItemTemplate>

                    <EditItemTemplate>
                        <asp:TextBox runat="server" ID="txtShortlistNotice" Text='<%#Eval("ShortlistNotice") %>' />
                    </EditItemTemplate>
                   
                </asp:TemplateField>


                <asp:TemplateField HeaderText="Final Selection">
                    
                    <ItemTemplate>
                        <asp:Label runat="server" ID="FinalSelection" Text='<%#Eval("FinalSelection") %>' />                    
                    </ItemTemplate>

                    <EditItemTemplate>
                        <asp:TextBox runat="server" ID="txtFinalSelection" Text='<%#Eval("FinalSelection") %>' />
                    </EditItemTemplate>
                   
                </asp:TemplateField>

                
                
                

                <asp:TemplateField Visible="false" HeaderText="CompanyID">

                    <ItemTemplate>
                        <asp:Label runat="server" ID="CompanyID" Text='<%#Eval("CompanyID") %>' />
                    </ItemTemplate>
                                                   
                </asp:TemplateField>


                

            </Columns>
            

            
        </asp:GridView>


The update button calls this function:

    protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)

        {
            
            int key = Convert.ToInt32(GridView1.DataKeys[e.RowIndex].Value);

            Label CompanyID = (Label)GridView1.Rows[e.RowIndex].FindControl("txtCompanyID");

            TextBox thisIssueDate = (TextBox)(GridView1.Rows[e.RowIndex].FindControl("txtIssueDate"));

            TextBox NoticeIntentResponseDue = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtNoticeIntentResponseDue");

            Response.Write(NoticeIntentResponseDue.Text + " " + thisIssueDate.Text);
            Response.End();

            TextBox DeadlineForQuestions = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtDeadlineForQuestions");

            TextBox BidsDue = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtBidsDue");

            TextBox ShortlistNotice = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtShortlistNotice");

            TextBox FinalSelection = (TextBox)GridView1.Rows[e.RowIndex].FindControl("txtFinalSelection");
        }  

The response is showing me that the value being grabbed is still the origonal text value of the box. Not what you typed into the box.

 