Click here to Skip to main content
15,912,493 members

Comments by Mitul Birla (Top 9 by date)

Mitul Birla 20-Dec-15 4:04am View    
Thanks a lot OriginalGriff, escaping column names solved it.
Yeah other things are important, working on now password encryption.
Thanks :)
Mitul Birla 20-Dec-15 3:21am View    
Thanks for the reply OriginalGriff, but I am still getting the same error.
But very strange thing noticed when I do Select, Update or Delete it works fine, Error is only for Insert statement.
Mitul Birla 17-Dec-15 5:58am View    
Thanks BillWoodruff!!!
Great one!!
Mitul Birla 17-Dec-15 4:17am View    
Yes, but I wrote that above code in c# so it gave me error.
Even in javascript the above written line dosen't work.
Following is the javascript code:


var re = '^(?[A-Z]{2})(?\d{2})(?\d{4})(?\d{7})$';
if (!re.test(num)) {
alert("Please enter valid Driving Licence.(e.g. MH4320120014306)"); $("#MainContent_txtPermitDrivingLicenceNumber").val("");
}
Mitul Birla 17-Dec-15 2:43am View    
Thanks for reply.
But above expression gives me following error:
parsing "^(?[A-Z]{2})(?[0-9]{2})(?[0-9]{4})(?[0-9]{7})$" - Unrecognized grouping construct.

Any help on this.