Пример #1
0
    //This method is used to get the website details.
    private void UpdateThestatistics()
    {
        int count = Membership.GetAllUsers().Count;

        numberOfUsers.Text = count.ToString();
        int noOfCourses = CourseConnectAccess.getnoOfCourses();

        Count.Text = noOfCourses.ToString();
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     SS_LB_ActiveUsers.Text = Membership.GetNumberOfUsersOnline().ToString();
     SS_LB_Courses.Text     = CourseConnectAccess.getnoOfCourses().ToString();
 }