GoodAfternoon Sir,
I have a query regarding a online exam project. could you please suggest me
if i have a 50 question and 4 option for each of the questions. then how will i show only 5 question and
there respective option on one panel. after that when i click on next button I'll go on for further 5 question
so please suggest me a right way
ajaz ansariPosted Jun 17, 2015, 7:19 AM
ajaz ansariPosted Jun 17, 2015, 7:14 AM
Upendra Pratap ShahiPosted Jun 17, 2015, 7:14 AM
Sreekanth ReddyPosted Jun 17, 2015, 7:08 AM
Panel Panel1= new Panel();If still doubts feel free to ask.ajaz ansariPosted Jun 17, 2015, 7:03 AM
Sreekanth ReddyPosted Jun 17, 2015, 6:46 AM
SET @PageNumber = 2
SET @RowspPage = 5
SELECT * FROM (
Call this function in Next button click.SELECT ROW_NUMBER() OVER(ORDER BY ID_EXAMPLE) AS NUMBER,
ID_EXAMPLE, NM_EXAMPLE, DT_CREATE FROM TB_EXAMPLE
) AS TBL
WHERE NUMBER BETWEEN ((@PageNumber - 1) * @RowspPage + 1) AND (@PageNumber * @RowspPage)
ORDER BY ID_EXAMPLE
Sreekanth ReddyPosted Jun 17, 2015, 6:43 AM