You can use Ajax for retrieve the data table as an array from the server.

public ArrayList ConvertDT(ref DataTable dt)
{
   ArrayList converted = new ArrayList(dt.Rows.Count);
    foreach (DataRow row in dt.Rows)
            converted.Add(row);
    return converted;
    }


then array list convert into array and send back as a response to the client

http://www.dreamincode.net/forums/topic/91826-datatable-to-array/

Recieve datatable from code behind to Javascript two demintion array?
Good day stack overflow.

I'm a noob in using regex and here is my problem - I need to check a password if it contains 4 consecutive characters. so far what I have just covered is regarding the digits. Here is my regex:

ascending digits - ^.?(?:0123|1234|2345|3456|4567|5678|6789).$

descending digits - ^.?(?:9876|8765|7654|6543|5432|4321|3210).$

This works only for the digits. I know this is already an overkill in regex so I dont want to do it with the letters. It will be waaay too overkill if I do that.

abcdblah //true because of abcd

helobcde //true because of bcde

dcbablah //true beacause of dcba

heloedcb //true because of edcb

Any help would be highly appreciated. Thanks stackoverflow.
