Knowledge Base

Snippets

Entries for 2013

16
UserInfo u = new UserInfo(); u = UserController.GetUserById(PortalId, DnnUserId);            ...

[Read the rest of this article...]

Posted in: DNN, Custom Modules
26
The following configuration must be defined: Enable the Guest Account Open up Local Group Policy Manager. Expand Computer Configurati...

[Read the rest of this article...]

03
Default login & password . . . . Access the router by going to 10.0.0.1 and using: admin / password to log into the router. Router, Comcast
08
<asp:Button ID="Button1" runat="server" Text="Delete All Users" onclick="Button1_Click" /> using DotNetNuke.Entities.Users; protected void Bu...

[Read the rest of this article...]

07
To switch from 'humanfriendly' mode to 'advanced' mode, follow these steps: Take a backup of the web.config file for your site Open the ...

[Read the rest of this article...]

Posted in: DNN
13
  div id="content" This is a DIV block that is to be centered. I don't want the text to be centered, though, just the block. /div #content...

[Read the rest of this article...]

Posted in: CSS
04
object objFSO; SetobjFSO = Server.CreateObject("Scripting.FileSystemObject"); // Get the folder object associated with the directory object objFold...

[Read the rest of this article...]

Posted in: C Sharp - C#
17
Bind values from a custom table to a CheckBoxList bound from a DNN list public void UpdateTrueFalseQuestions() { try ...

[Read the rest of this article...]

28
/// <summary>  /// Returns the first day of the next month. /// </summary> /// <example> /// i.e. If start date is 9/27/2...

[Read the rest of this article...]

Posted in: C Sharp - C#
21
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES...

[Read the rest of this article...]

Page 1 of 2First   Previous   [1]  2  Next   Last