ncTools Library - Lots of usable functionalities

Default.aspx.cs
using ncTools;

 public bool IsValiDate(string pParamValue)
    {
        return DFO.IsValidDateTime(pParamValue);
    }     
    public bool DFO.IsValidNumericValue(string pParamValue,false)
    {
        return DFO.IsValidNumericValue(pParamValue,false);
    }
    public bool IsValidPhone(string pParamValue)
    {
        return DFO.IsValidPhone(pParamValue);
    }
    public bool IsValidEmail(string pParamValue)
    {
        return DFO.IsValidEmail(pParamValue);
    }
    public bool IsValidSocial(string pParamValue)
    {
        return DFO.IsValidSocialSecurity(pParamValue);
    }
Dash a numeric phone
string MyPhone =  DFO.DashPhone("2125556666");

Dash Social Sec.
string MySSN = DFO.DashSocialSecurity("123456789");

Get a Strong Password
string MyStrongPWD = DFO.GetStrongPassword();

Old VB Function retuns a string Value
string MyResult = DFO.IIF(dr["Active"].ToString(),"1","Yes");
 
 
 
Download Assembly NetstairTools.zip

Add Feedback