Dot Net
textbox allow character validation
10/10/2011 18:24
public static void NumericOnly(KeyPressEventArgs e)
{
try
...
email id validation
10/10/2011 18:22
private void txtEmailId_Validating(object sender, CancelEventArgs e)
{
System.Text.RegularExpressions.Regex rEMail = new...
for loop
10/10/2011 18:20
for (int i = 0; i < lstValues.Items.Count; i++)
{
if (i == lstValues.Items.Count -...
common Convert functions
16/09/2011 11:27
#region CommomMethods
public static int ConvToInt(string value)
{
if (value != string.Empty && value !=...
Common MySql Data Provider Functions
30/08/2011 14:52
internal MySqlConnection getodbccon()
{
try
...
Textbox Allows Number and Decimel Values in windows application
30/08/2011 14:45
private void txtHeight_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) && e.KeyChar !=...
Texbox Allow Numbers Only in windows application
30/08/2011 14:43
private void txtCellNo_KeyPress(object sender, KeyPressEventArgs e)
{
e.Handled = !char.IsDigit(e.KeyChar) &&...
Textbox Email Validation in Windows application using C#.net
30/08/2011 14:42
private void txtCurrEmailID_Validating(object sender, CancelEventArgs e)
{
System.Text.RegularExpressions.Regex rEMail = new...
Common Function For Using Mysql Query
30/08/2011 12:22
public static int ConvToInt(string value)
{
if (value != string.Empty && value !=...
common function for data process if u use query
16/06/2011 11:52
internal SqlConnection getsqlcon()
{
return new SqlConnection(ConfigurationSettings.AppSettings["sitesql"].ToString());
...