C# / .NET Tips
Wednesday, December 17, 2008
Row count of SqlDataSource
Use the Selected event on the SqlDataSource and get the Affected Rows from it.
protected void SqlDataSource1_Selected(object sender, SqlDataSourceStatusEventArgs e)
{
int total_count = e.AffectedRows;
}
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment