Submitted by vivek on Tue, 04/17/2012 - 15:45
Submitted by vivek on Mon, 03/19/2012 - 23:17
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
namespace datagrid
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
OleDbDataAdapter dAdapter;
DataTable dt;
Submitted by vivek on Tue, 02/28/2012 - 09:47
ApexSQL Log
A great tool for recovering deleted records. I accidentally deleted a record from a db which was two days' job. This was a life saver. Thank you so much.
http://www.apexsql.com/default.aspx
Submitted by vivek on Fri, 02/17/2012 - 16:46
Submitted by vivek on Fri, 02/17/2012 - 10:42
This is the best Javascript library that does html table sorting, filtering, and paging on HTML Tables.
http://www.datatables.net/index
Hats off to the developer for creating such a wonderful library.
Submitted by vivek on Tue, 02/14/2012 - 14:53
Submitted by vivek on Tue, 11/01/2011 - 11:54
Submitted by vivek on Thu, 10/27/2011 - 14:50
function isDate(value) {
var dateRegEx = new RegExp(/^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$/);
if (dateRegEx.test(value)) {
return true;
}
return false;
}
Not sure who wrote. Whoever it is thank you very much.
Submitted by vivek on Thu, 10/20/2011 - 15:14
After some couple of hours of search I found the best Jquery keypress Numeric validation.
http://brianjaeger.com/process.php
This is a neatly written plugin. Thanks to the author.
Submitted by vivek on Thu, 10/20/2011 - 13:36
The below code will Disable Submit button onclick after page validation
string var = ClientScript.GetPostBackEventReference(btnSubmit, "").ToString();
btnSubmit.Attributes.Add("onClick", "javascript :if ( Page_ClientValidate() ){this.disabled=true; this.value='Please Wait...';" + var + "};");
Pages