Error in ASP Code

Posted by user303949 on Stack Overflow See other posts from Stack Overflow or by user303949
Published on 2010-03-29T05:51:01Z Indexed on 2010/03/29 5:53 UTC
Read the original article Hit count: 128

Filed under:

Hi

Below ASP code have some error in 'Dim MonthNum=Month("Ctxtdatefrom") ' Can help to solve this.

...... If session("cmbLeaveType")=2 then set rs2 = objconn.execute("select * form Particulars where empid='" & session("empid") & "'") if ChildNationality = ABC then Dim MonthNum=Month("Ctxtdatefrom") Dim MonthNum2=Month("ctxtdateto") If(MonthNum=5 and monthnum2=5) if tdays>1 then

   else

set rs = objconn.execute("insert into leavebank (empid, datesubmit, datefrom, dateto....

END IF END IF END IF END IF

© Stack Overflow or respective owner

Related posts about asp