Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Christopher Hayes #1
ASP.NET C# - Randomize Recordset
Using DMX 2004, WinXP Pro, MS SQL Server 2000, ASP.NET C#.
I'm using the standard Dreamweaver Recordset behavior and want to randomize
the record returned. I know it can be done, just not sure how to do it.
Any help is appreciated.
Thanks,
Chris
Christopher Hayes Guest
-
Randomize Output
I am pulling records from a database. I want to randomly pull 10 records out of the hundreds in the database to display. How can this be done? ... -
How to randomize questions in Coursebuilder
This extension is really powerful, but the only thing missing is the randomize function. Can anyone tell me how to do it? In the elearning world,... -
RecordSet.Move or RecordSet.AbsolutePosition??
Hi, I'm trying to use either one of these methods to position the cursor in a specific position inside a recordset, but neither one seems to... -
randomize function
Hello, Does "randomize" function has problem in running on web-service ? My web-service is declared to language "VB". I see that in vbscript... -
End Of Recordset!!
Mostlikely a very simple answer to this question. I am wanting to move to the last record in a recordset and extract a value from it. When i go... -
Grant Berkeley #2
Re: ASP.NET C# - Randomize Recordset
Stick the following at the end of your sql statement
Order by NEWID()
Hopefully that should do the trick
HTH
Grant
"Christopher Hayes" <cbhayes@sseinc.com> wrote in message
news:d02h4g$c1p$1@forums.macromedia.com...> Using DMX 2004, WinXP Pro, MS SQL Server 2000, ASP.NET C#.
>
> I'm using the standard Dreamweaver Recordset behavior and want to
> randomize the record returned. I know it can be done, just not sure how
> to do it.
>
> Any help is appreciated.
>
> Thanks,
>
> Chris
>
Grant Berkeley Guest
-
Christopher Hayes #3
Re: ASP.NET C# - Randomize Recordset
Thanks Grant,
Worked great.
- Chris
Christopher Hayes Guest



Reply With Quote

