title: ASP.NET Gridview is not refreshing after the delete operation
body: <p>I have Internet Explorer 8. I have a asp:GridView in which I am showing records and image buttons to perform delete operation. I am deleting the record and calling me BindMethod on RowComand event of the gridview. The problem is that after deleting the record Internet Explorer is not refreshing. I have checked with the firefox and chrome. They are working fine.</p>
  
  <p>Here is my code:
  ASPX:</p>
  
  <pre><code>    &lt;asp:GridView ID="grd" runat="server" CssClass="grd" EmptyDataText="No record found."
  EnableViewState="true" AutoGenerateColumns="False" AllowPaging="False" 
  OnRowCommand="grdView_RowCommand" OnRowDataBound="grdView_RowDataBound" 
  OnPageIndexChanging="grdView_PageIndexChanging"&gt;
       &lt;Columns&gt;
        bla
        bla
        bla
        bla
        bla
       &lt;/Columns&gt;
      &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Code Behind</p>
  
  <pre><code>private void BindGrid()
  {
       string sSQL = "select * from tableName";
       DataTable dt = DAL.getDataTable(sSQL);
       grd.DataSource = dt;
       grd.DataBind();
  }
  
  protected void grdView_RowCommand(Object sender, GridViewCommandEventArgs e)
  {
        int id= Convert.ToInt32(e.CommandArgument);
        //Deleting record
        bool result = DAL.DeleteRecord(id);
        if(result)
        {
            BindGrid();
        }
  }
  </code></pre>
  
  <p>Please tell me why Internet Explorer is not refreshing the grid while others browsers working fine.</p>