Last post Jan 06, 2012 03:41 PM by gavilanch
Jan 06, 2012 03:31 PM|gavilanch|LINK
In order to get the total rows affected, I use this code:
protected void SqlDataSource1_Selected(object sender, SqlDataSourceStatusEventArgs e)
int gridViewTotalRowCount = e.AffectedRows;
How can I get the value of the variable 'gridViewTotalRowCount' out of that event? (So I can use it in other parts of the same form).
Or, how can I access the information provided by e.AffectedRows outside of this method?
Jan 06, 2012 03:35 PM|MetalAsp.Net|LINK
Jan 06, 2012 03:41 PM|gavilanch|LINK
I was trying to modify the method, but yor advice is simpler and effective.