Esempio n. 1
0
        private void GetGrade()
        {
            string userName = Request.Params["userName"];
            Users users = new Users();
            float time = 0;
            try{
                time = float.Parse(users.GetOnLineTime(userName.Trim()).Rows[0]["onlinetime"].ToString());
            }catch{}

            WriteMessage(GetGradeInfo(time));
        }