private Hashtable getDataTableToHashTable(DataTable dt)
    {
        Hashtable ht = new Hashtable();

        if (dt.Rows.Count > 0)
        {
            foreach (DataColumn dc in dt.Columns)
            {
                ht[dc.ColumnName] = dt.Rows[0][dc.ColumnName];
            }
        }
        return ht;
    }

Posted by yespia.net piacom

DateTime d=DateTime.Now;

String str=d.ToString("yyyyMMddHHmmss");

Posted by yespia.net piacom

$('#ID').live('click', function(e) {

//수행 내용

});

 

$('#ID').blind('click', function(e) {

//수행 내용

});

 

이벤트 타입

- click
- dblclick
- keydown
- keypress
- keyup
- mousedown
- mousemove
- mouseout
- mouseover
- mouseup

Posted by yespia.net piacom