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....
Answers were Sorted based on User's Feedback
Answer / varasri
the query for random selection is
select * from tablename order by newid()
| Is This Answer Correct ? | 32 Yes | 8 No |
Answer / 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 |
Answer / ravi
In ORACLE
select * from questions
order by (id * dbms_random.random)
| Is This Answer Correct ? | 4 Yes | 5 No |
How many types are there session
14. What are your Future Plans for Swatz Oils GROUP U.K?
0 Answers CSC, Swatz Oils, TCS,
How do you add a javascript function for a link button in a datagrid ?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What is web application virtual directory ?
define silverlight and advantages ?
What is the difference between Server.Transfer and Response.Redirect?
Can we store PROGID information in database and dynamically load the component ?
1 Answers Digital GlobalSoft, e4e,
Why is string called immutable data type?
How do we ensure view state has not tampered?
what is .net
IN an ASP.NET Web application if there is any error, how can you debug?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)