Thanks. When I use the code above, I get the error below.
Mart
Server Error in '/' Application.
Compilation Error
Description:An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'count' does not exist in the current context
Source Error:
Line 19: protected void SqlDataSource1_Selected(object sender, SqlDataSourceStatusEventArgs e)
Line 20: {Line 21: TextBox1.Text = count.ToString();Line 22: }
Line 23: |
Source File: c:\Webs\cycanl\admin\UpdateMember-totals-test.aspx.cs Line: 21
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.79.0