Register
Login
Register
Login
Search
Design
Consulting
DNN Apps
Content Management System
Custom DNN Modules
Business Directory
Restaurant Menu Manager
Custom Database Reporting
Distributor Locator
Gift Certificates
Date Time Calculator
Screenshot Gallery
TimeTracker
QR Code Maker
Surveillance Systems
Business Links
Support
Knowledge Base
Contact
C Sharp - C#
Support
/
Knowledge Base
/
C Sharp - C#
Snippets
Current Articles
|
Archives
|
Search
private void function()
02
Return Boolean as Yes or No
posted on February 02, 2019 12:01
public string ReturnBooleanAsYes_or_No(Boolean choice) {  ...
[Read the rest of this article...]
bool
,
boolean
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
11
Get DNN Users Role Expiration Date
posted on May 11, 2018 10:59
DotNetNuke.Security.Roles.RoleController rolesController = new DotNetNuke.Security.Roles.RoleController(); UserRoleInfo role = rolesController.GetUse...
[Read the rest of this article...]
DNN User Roles
Posted in:
C Sharp - C#
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
25
Check if Value Exists in a Dropdown List
posted on April 25, 2018 06:06
ListItem lisource = ddlDonationSour...
[Read the rest of this article...]
Dropdown list
Posted in:
C Sharp - C#
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
11
GridView Trim Long String
posted on May 11, 2016 09:32
Try this . . . . <asp:TemplateField HeaderText="Thank You Letter"> <ItemTemplate> <asp:Label ID="lblTYLetter" runat="server" Text...
[Read the rest of this article...]
GridView TemplateField
Posted in:
C Sharp - C#
,
DNN
,
Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
11
DNN 7.3 FillObject
posted on May 11, 2016 06:34
//public DonationTrackerInfo DonationTrackerPledgeGetPledgeByID(int pledgeID) //{ // return (DonationTrackerInfo)CBO.FillObject(DataProvider.Insta...
[Read the rest of this article...]
DNN Controller
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
04
Get State Code By State Name
posted on May 04, 2016 07:17
DNN now returns the long state name when using DotNetNuke.Entities.Users.UserInfo . . . Here's an easy workaround for returning the 2 letter stat...
[Read the rest of this article...]
State Name
,
State Code
Posted in:
C Sharp - C#
,
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
25
Call a Function from a GridView
posted on January 25, 2016 08:43
<asp:TemplateField HeaderText="Frequency"> <ItemTemplate> <asp:Label ID="lblFrequency" runat="server" Text='<%# GetFrequencyLook...
[Read the rest of this article...]
GridView
,
Function
Posted in:
C Sharp - C#
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
12
Numbers to Words
posted on August 12, 2015 08:17
public static string NumberToWords(int number) { if (number == 0) return "zero"; if (number < 0) return "minus " + N...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
26
Log to DNN Event Viewer
posted on November 26, 2014 07:57
DotNetNuke.Services.Log.EventLog.EventLogController objEventLog = new DotNetNuke.Services.Log.EventLog.EventLogController(); objEvent...
[Read the rest of this article...]
DNN Event Viewer
Posted in:
C Sharp - C#
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
06
DNN GetUsersByRoleName for a Dropdown
posted on July 06, 2014 07:56
public void GetPreviousAgents(string _AgentRole) { try { DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Securit...
[Read the rest of this article...]
DNN
,
GetUsersByRoleName
,
C#
Posted in:
C Sharp - C#
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 2 of 5
First
Previous
1
[2]
3
4
5
Next
Last
Categories
Azure (3)
C Sharp - C# (41)
..private void function() (11)
CSS (17)
DNN (64)
..Modules (23)
....Core Modules (6)
....Custom Modules (39)
..Resource Links (2)
..Skin Objects (2)
..Social (1)
E-Mail (4)
IIS (3)
Malware (1)
Microsoft SQL Server (18)
..Azure SQL Database (5)
..SQL Scripts (19)
..SQL Server 2008 R2 (11)
..SQL Server 2014 (1)
..Stored Procedures (6)
Networking Problems (7)
nopCommerce (3)
Operating Systems (1)
..Windows 7 (3)
..Windows Server 2003 (1)
..Windows Server 2008 (2)
..Windows Server 2012 (2)
..Windows Vista (2)
..Windows XP (4)
PCI DSS Compliance (1)
SSRS (2)
Technology (139)
VbScript (3)
Web Design (7)
Web.Config (5)
Archives
2025 (10)
2024 (12)
2023 (1)
2022 (1)
2021 (2)
2020 (16)
2019 (11)
2018 (8)
2017 (14)
2016 (14)
2015 (4)
2014 (26)
2013 (11)
2012 (15)
2011 (30)
2010 (157)