private void GetQuiz() { professor_Quiz_WCFLib.ProfessorQuizClient proxy = new professor_Quiz_WCFLib.ProfessorQuizClient(); professor_Quiz_WCFLib.quizModel[] quizModel = proxy.GetAllQuizByProf(profId, 1); grdAllQuiz.DataSource = quizModel; grdAllQuiz.DataBind(); }