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()
22
Server.MapPath Usage
posted on April 22, 2014 08:51
Server.MapPath specifies the relative or virtual path to map to a physical directory. Server.MapPath(".") returns the current physica...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
17
DNN Check for Authentication and Redirect to Login Page
posted on April 17, 2014 06:44
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals....
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
13
Generate QueryString Parameters
posted on April 13, 2014 05:34
protected static string GenerateQueryStringParameters(HttpRequest request, params string[] queryStringKeys) { StringBuilder quer...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
25
Add a Space After a Comma
posted on January 25, 2014 08:00
public string AddSpaceAfterComma(string myInput) { try { String text = myInput.ToString(...
[Read the rest of this article...]
string function
,
Regex
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
10
Get the First Day of Next Month in C#
posted on January 10, 2014 06:40
public static DateTime GetFirstDayOfNextMonth(DateTime startDate) { if (startDate.Month == 12) // its end of year , we need ...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
04
Iterating through the FileSystemObject Collections in C#
posted on March 04, 2013 05:43
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#
Actions:
E-mail
|
Permalink
|
Comments (0)
17
iDataReader loop to bind custom values to a CheckBoxList
posted on February 17, 2013 10:20
Bind values from a custom table to a CheckBoxList bound from a DNN list public void UpdateTrueFalseQuestions() { try ...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
28
C# function to return first day of the next month
posted on January 28, 2013 14:21
/// <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#
Actions:
E-mail
|
Permalink
|
Comments (0)
21
Return SCOPE IDENTITY from a stored procedure to your custom DNN module
posted on January 21, 2013 08:06
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
DNN
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
10
Switch Case
posted on January 10, 2013 12:18
switch(myNumber) { case "1": // DO SOMETHI...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 3 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)