Snippets
27
Public string ReplaceWithBR(string target) {  Regex regex = new Regex(@"(\r\n|\r|\n)+"); string newText = regex.Replace(target, "<br />...

[Read the rest of this article...]

Functions
Posted in: C Sharp - C#
27
Below you will find a few generic SQL queries for generating reports on DNN Users. Last Activity: SELECT     Users.Username, Use...

[Read the rest of this article...]

Posted in: DNN
30
Configure Outlook to use port 587 for sending email In order to change your port 25 settings to port 587 in Outlook, you must do the following: ...

[Read the rest of this article...]

Posted in: E-Mail
30
Add the helper SPLIT function to your database CREATE FUNCTION dbo.Split ( @List nvarchar(2000), @SplitOn nvarchar(5) )  RETURNS @RtnVal...

[Read the rest of this article...]

SQL, FUNCTION
23
Solution was to configure the NTLM security. From Windows 7, click start, type local and open the Local Security Policy Manager. Sele...

[Read the rest of this article...]

Networking, Windows 7 Professional
21
Within a stored procedure use an IF STATEMENT to check a parameter for a NULL VALUE if( @CustomFieldID is null) begin    print 'NUL...

[Read the rest of this article...]

Stored-Procedure, Null-Value
Posted in: Stored Procedures
19
Get the date and time in C#   vDate = Convert.ToString(System.DateTime.Today.Date.ToShortDateString()); vTime = Convert.ToString(System.DateTi...

[Read the rest of this article...]

Date, Time
Posted in: C Sharp - C#
17
Here you can find the list with the standard set of fonts common to all versions of Windows and their Mac substitutes, referred sometimes as "browser ...

[Read the rest of this article...]

Posted in: Web Design
12
  PROCEDURE GIBS_SEO_Content nvarchar(50) = null   AS BEGIN if (len(@city)=0) begin set @city=null end   SET NOCOUNT ...

[Read the rest of this article...]

06
Handy for various DNN modules that required a pipe seperated list of states. This list is for StateCode.  
Posted in: DNN
Page 32 of 33First   Previous   24  25  26  27  28  29  30  31  [32]  33  Next   Last   

  120 OLD FREEMANS WAY, BREWSTER, MA 02631
  P. O. BOX 2342, BREWSTER, MA 02631
  (774) 323-3176
  CONTACT US