Web Service (asmx) – Hide Methods
In the web.config add the following lines to system.web. <webServices> <protocols> <remove name=”Documentation” /> </protocols> </webServices> If you want to […]
All around the world..
exploring
engineering
developing
building
trying new things
Scroll down to follow my adventures..
In the web.config add the following lines to system.web. <webServices> <protocols> <remove name=”Documentation” /> </protocols> </webServices> If you want to […]
Set UIViewControllerBasedStatusBarAppearance to NO in info.plist or “View controller-based status bar appearance” and set it to NO Recommend on Facebook […]
declare @tmpTbl table(d int primary key, c int, cr int) insert into @tmpTbl select MONTH(<datecol>), ,count(userid),0 FROM <table_name> WHERE group […]
Remove all attributes from HTML tags using TextWranlger: <tr(.|\n)*?> Change the <tr> to something else and it will look only […]
SUBSTRING(FileName,LEN(FileName) – FINDSTRING(REVERSE(FileName),”\\”,1) + 2,LEN(RIGHT(FileName,FINDSTRING(REVERSE(FileName),”\\”,1) – 1))) Recommend on Facebook share via Reddit Share with Stumblers Tweet about it
With this function you can enable the “Agree” checkbox at the end of the page only if the user scrolls […]
alter database <mydb> set recovery simple go checkpoint go alter database <mydb> set recovery full go backup database pubs to […]
SET NOCOUNT ON DBCC UPDATEUSAGE(0) — DB size. EXEC sp_spaceused — Table row counts and sizes. CREATE TABLE #t ( […]
Visual Studio has ability to delete empty lines in replace operation using regular expressions. 1.Click Ctrl-H (quick replace) 2. Tick “Use Regular […]
Add the following lines to the .htaccess file: AddType application/vnd.ms-word.document.macroEnabled.12 .docm AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm […]