In SQL Server we can get records in random order from a sql query using NEWID() Function like:
SELECT Subject FROM dbo.test ORDER BY NEWID()
Convert DATETIME TO TIMESPAN IN C#
13 years ago
This site contains information of .NET,Sharepoint,C#,SQL Server,MOSS,WSS,WWF,WCF,WPF,AJAX,Javascript and Adobe Flex.
No comments:
Post a Comment