Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
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 objFolder;...
[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/2009 ...
[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 SOMETHING ...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
06
Check if an image exists - substitute missing images
posted on December 06, 2012 07:03
public string get_image(string product_ID) { string functionReturnValue = null; HttpWebRequest req = default(HttpWebRequest); req = ...
[Read the rest of this article...]
HttpWebRequest
,
Images
,
GetResponse()
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
05
Alter Table - Setting a Column Default Value
posted on December 05, 2012 04:36
ALTER TABLE MyTableName ADD CONSTRAINT DF_MyTableName DEFAULT GETDATE() FOR MyColumnName
SQL
,
Alter Table
Posted in:
SQL Scripts
Actions:
E-mail
|
Permalink
|
Comments (0)
18
Identify SQL User Roles
posted on October 18, 2012 05:00
select dp2.name as role, dp1.name as owner from sys.database_principals as dp1 inner join sys.database_principals as dp2 on dp1.principal_id = dp2.own...
[Read the rest of this article...]
SQL Roles
Posted in:
SQL Server 2008 R2
Actions:
E-mail
|
Permalink
|
Comments (0)
07
Outlook Synchronizing Subscribed Folders Issue with GMail
posted on August 07, 2012 11:00
GO to OUTLOOK 1) Navigate to File >> Options >> Advanced >> scroll down to the send/receive heading >> click on the send/rec...
[Read the rest of this article...]
Actions:
E-mail
|
Permalink
|
Comments (0)
23
Regex - Insert a space after a comma
posted on July 23, 2012 09:42
String = "MyWord,AnotherWord,TheEnd" String = Regex.Replace(String, "(?<=,)(?!\\s)", " "); Value of the string is now . . . . . String = "MyW...
[Read the rest of this article...]
Regex
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 12 of 32
First
Previous
7
8
9
10
11
[12]
13
14
15
16
Next
Last