Hi
i am developing a master for fee which includes fields like fee-id,class-id,I-term,II-term,III-term ,I-termlastdate,II-termlastdate,III term last date,fine .I am using calendar control to enter date.When firstterm lastdate is after 30th june
fine should be 25,if it is after 30th aug fine should be 50.How to compare this
can we compare like
datetime datetime1=txtfirsttermlastdate
if(datetime1>txtfirsttermlastdate)
fine=25
else
fine=......
where i declare fine variable and assign values.Is this correct way .Please inform me
vijaya