How to find the last clicked item in a CheckBoxList

Use this Code beow. The last value printed is the index of the checkbox clicked.
 
void myCheckboxList_SelectedIndexChanged(object sender, EventArgs e)
{
Response.Write( Request.Form["__EVENTTARGET"] );
}

Clean HTML Table (Remove tags and styles created by Word)

This Website is for sale

This website along with the contents is for sale. email your offer to ontheskies@gmail.com

How to Insert, Delete, Update MDB using DataGridView and DataAdapter

 

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;

 

Tags:

Recover Deleted Records Sql Server

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

Jquery Javascript Slider

This is a very good javascript slider with tons of options

http://css-tricks.com/anythingslider-jquery-plugin/

Great Javascript Library for HTML Table Sorting, Filtering and Paging

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.

SyncToy - Free tool for synchronizing files and folders between locations

SyncToy 2.1 is a free application that synchronizes files and folders between locations. Typical uses include sharing files, such as photos, with other computers and creating backup copies of files and folders.

Download from http://www.microsoft.com/download/en/details.aspx?id=15155

Source: http://www.microsoft.com/download/en/details.aspx?id=15155

Building HTML Emails With SQL Server and XML

This is an interesting and useful article that explains how to convert sql query results to html format

http://www.sqlservercentral.com/blogs/robert_davis/archive/2010/06/15/Bu...

Thanks to the author Robert

Best Date Validation in Javascript

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.

Pages

Subscribe to sourcecodezone.com RSS