Tuesday, May 5, 2009

Rename MSSQL Server Database Name

ERROR: The database could not be exclusively locked to perform the operation.

SOLUTION:

ALTER DATABASE SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
SP_RENAMEDB ,
Go
ALTER DATABASE SET MULTI_USER -- set back to multi user
GO

Monday, April 13, 2009

HDML

HDML - Handheld Device Markup Language
http://developer.openwave.com/dvl/tools_and_sdk/phone_simulator/choosing.htm

Image Gallery


http://www.outcut.de/MooFlow/MooFlow.html
http://net.tutsplus.com/articles/web-roundups/50-excellent-image-galleries-you-can-use-today/
http://jqueryfordesigners.com/slider-gallery/comment-page-8/

Wednesday, March 18, 2009

How to extend upload file Limit in PHP

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;


Goto
C:\wamp\bin\apache\Apache2.2.11\bin\php.ini
edit php.ini
Find upload_max_filesize
Change 2M to your maximum file upload size.

Tuesday, December 2, 2008

Crystal Reports for Visual Studio 2005

How to create Web or Windows applications in Crystal Reports for Visual Studio 2005.

http://msdn.microsoft.com/en-us/library/ms225270(VS.80).aspx

Friday, October 3, 2008

Converting Decimal to Time Format

decimal sec=123456;
TimeSpan t = TimeSpan.FromSeconds(sec);
string strTime = String.Format("{0}:{1:00}:{2:00}", t.Hours, t.Minutes, t.Seconds).ToString();
Response.Write(strTime);