I got to work but is this the best way? On changing a value in a GridView using a SQLDataSrc i need to see if it changed from N to Y and if it did, do something. I would like input if I did it in the most efficient way.
OnRowUpdating="GridView_RowUpdating"
protected void GridView_RowUpdating(Object sender, GridViewUpdateEventArgs e)
{
String OldValue = e.OldValues[0].ToString();
String NewValue = e.NewValues[0].ToString();
if (OldValue == "N")
{
if (NewValue == "Y")
{
//do something
}
}
}
Thanks, Doug