i want to develope a page for online test using asp.net
with c#.net. so, how to insert the questions in the
database sqlserver2000 and how to pick the questions
randomly when user login for test. plz send the code for
this....

Answer Posted / raju

by using RAND(value) u can get the random Questions....like
below


Select * from table1 where ID=(5*Rand()+1)

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write html code with ssl

1525


What is routing in MVC?

592


Why select Web API?

566


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

1660


What is the difference between dispose() and finalize()?

493






Why is an object pool required?

607


If you want to write your own dot net language, what steps you will you take care?

520


How can we implement a identity (sql server) call in an asp.net page?

550


What is the difference between page.registerclientscriptblock and page.registerstartupscript?

480


When was asp.net released?

568


Define data caching?

543


What is x xss protection?

564


Explain how can we access static variable?

545


How use Xml data in ASP.net?

557


Why is global asax is used?

610