Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
protected void Page_Init(object sender, EventArgs e)
    {
       
        BindItemsList(dtlQuiz);
    }
This is my function that calling again and again ,this function i use to fill the datalist control for creating quiz application with next,previous button but when i click on next or previous again it will change the sequence of question and answeer again as i implemented random quiz.
So i dont want to call this function again using c#
Posted 19-Jan-12 21:26pm
Edited 19-Jan-12 21:33pm
v2
Comments
Anuja Pawar Indore at 20-Jan-12 3:33am
   
Added pre tag

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Try:
if (!IsPostBack)
   {
   BindItemsList(dtlQuiz);
   }
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CHill60 320
1 Sarvesh Kumar Gupta 238
2 Sergey Alexandrovich Kryukov 173
3 OriginalGriff 163
4 DamithSL 153


Advertise | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid