Format:
Recent snippets for: Stefan Sandström
SELECT DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) select convert(varchar(10),getdate(),121) CONVERT(VARCHAR,start_dttm,111)
254 Views
no comments
<elmah> <errorFilter> <test> <equal binding="HttpStatusCode" value="404" type="Int32" /> </test> </errorFilter> </elmah>
204 Views
no comments
<?xml version="1.0"?><configuration> <system.web> <httpModules> <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/> <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/> </httpModules> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules>
216 Views
no comments
<?xml version="1.0"?><configuration> <elmah> <security allowRemoteAccess="1" /> </elmah> <location path="elmah.axd"> <system.web> <authorization> <allow roles="Admin" /> <deny users="*" /> </authorization> </system.web>
140 Views
no comments
' ... Save user's information to the database ... ... ' Attempt to send the user a confirmation e-mail ' ... Send an e-mail ... Try Catch e As Exception ' Error in sending e-mail. Log it! ErrorSignal.FromCurrentContext().Raise(e) End Try
160 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
