Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
C Sharp - C#
NO Image:
private void function()
06
Convert Money to Double
posted on February 06, 2012 10:15
Converting a textbox money field value ($1,250.00) to a double value . . . double MyDoubleValue = double.Parse(txtMoneyAmount.Text, NumberStyles.Curr...
[Read the rest of this article...]
double.Parse
,
money
Posted in:
C Sharp - C#
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
19
DNN E-Mail Address Lookup
posted on January 19, 2012 05:50
Check to verify if an e-mail address has been previously registered: public bool LookupEmail(string EmailAddress) { try { int ...
[Read the rest of this article...]
DNN User Account
Posted in:
C Sharp - C#
,
private void function()
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
19
Splitting a FullName field into a FirstName and LastName
posted on January 19, 2012 05:35
public void NameSplit(string name) { if (name.Length > 0) { // Check for a comma if (name.IndexOf(",") > 0) ...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)
05
valuePair String Split
posted on April 05, 2011 14:16
string emailAddress = "email1@domain.com;address2@another.com;myaccount@somewhere.com"; string[] valuePair = emailAddress.Split(new char[] { ';' }); f...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
01
Populate a Credit Card Expiration Month and Year DropDownList
posted on April 01, 2011 09:13
Populate a credit card expiration month DropDownList for (int i = 1; i <= 12; i++) { DateTime month = new DateTime(2011, i, 1)...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
29
DirectoryInfo Object GetFiles() - List Files in Folder
posted on March 29, 2011 10:51
List files in a folder . . . private void ListFiles() { DirectoryInfo...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
27
How to replace carriage return with
posted on August 27, 2010 09: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#
Actions:
E-mail
|
Permalink
|
Comments (0)
19
Date and Time
posted on April 19, 2010 05:25
Get the date and time in C# vDate = Convert.ToString(System.DateTime.Today.Date.ToShortDateString()); vTime = Convert.ToString(System.DateTime....
[Read the rest of this article...]
Date
,
Time
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
Page 4 of 4
First
Previous
1
2
3
[4]
Next
Last