The RowUpdating method has a variable that is of type GridViewUpdateEventArgs
and has two properties that may interest you: OldValues and NewValues.
For an example, if you wanted to see the values onUpdating, you could place
a ListBox control on your page and fill it with this method:
protected void gv_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
ListBox1.Items.Clear();
for (int i = 0; i < e.NewValues.Count; i++)
{
ListBox1.Items.Add(e.NewValues[i].ToString());
}
}
HTH.
-dl
--
David R. Longnecker
http://blog.tiredstudent.com
Hi,
I'm using the RowUpdating() event of an updatable GridView. I need to
see the values of the columns in the updated row. There has got to be
a way to do this!
Any suggestions?
Thanks in advance!
Steve