CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: Dean Weber
C#
/// <summary>
/// Validates the email.
/// </summary>
/// <param name="sender">The sender.</param>
/// <param name="e">The <see cref="System.Web.UI.WebControls.ServerValidateEventArgs"/> instance containing the event data.</param>
/// <param name="page">The calling <see cref="System.Web.UI.Page" /> web page.</param>
public void ValidateEmail(object sender, ServerValidateEventArgs e, Page page)
{
    var emailAddress = page.FindControl("emailAddress") as TextBox;
    var firstName = page.FindControl("firstName") as TextBox;
by Dean Weber   September 12, 2011 @ 7:19am
35 Views
no comments
 
C#
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Text.RegularExpressions;
using System.Text;
using System.IO;
using System.Reflection;
by Dean Weber   October 08, 2009 @ 7:54am
330 Views
no comments
 
C#
using System;  
using System.Net;  
using System.Text.RegularExpressions;  
using System.IO;  
  
class TestHarness  
{  
  
    public static void Main()  
    {  
by Dean Weber   October 08, 2009 @ 1:02am
Tags:
175 Views
no comments
 
C#
string Replace(string input, string replacement);  
string Replace(string input, string replacement, int count);  
string Replace(string input, string replacement, int count, int startat);  
static string Replace(string input, string pattern, string replacement);  
static string Replace(string input, string pattern, string replacement, RegexOptions options);  
by Dean Weber   October 08, 2009 @ 12:06am
Tags:
143 Views
no comments
 
C#
using System;
using System.Configuration;
 
namespace Microsoft.Samples.AspNet.Validators
{
  class UsingRegexStringValidator
  {
    static void Main(string[] args)
    {
      // Display title.
by Dean Weber   October 07, 2009 @ 7:01am
1600 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate