Insert an Updated Row to an ASP .Net GridView
<p>I am updating a GridView dataRow on GridView_RowUpdating event and Updating the database too.
on GridView_RowUpdating event i wrote c# code to update the database and after successfull update of database i am creating a class object of this row. and trying to bind this row to another grid.</p>

<p>Database is getting updated but another grid is not being updated.</p>

<p>Any Solution??</p>

<p>Here is my code</p>

<pre><code>Grid_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
  // Update Operation for First Grid  
  ...
  ...

  Class1 ObjRow = new Class1();
  ObjRow.Status = Updated.


  List&lt;Class1&gt; lst = GetUpdatedDetails();
  GridView1.DataSource = lst;
  GridView1.DataBind();


  lst = new List&lt;Class1&gt;();
  lst.add(ObjRow)


  // Here Its Failing
  GridView2.DataSource = lst;
  GridView2.DataBind();
}
</code></pre>
