Hi
i am getting mismatch type error .please help me
how can i write if condition to satisfy all the conditions
if the releasename is 15.16 in asp page then array(0)=15 and array(1)=16 is not showing any error but
if the releasename is 15.12win7 or 15.win7 it is showing error how can i write if condition to get into the loop with out showing any error
just i need to enter into loop whether releasename is 15.16 ,15.12win7 or 15.win7
here is the code
<% array = Split(rs.Fields("ReleaseName").Value, ".")
If CInt(array(0)) >= 15 And Cint(array(1)) >= 16 then
<tr>
<th> Version</th>
<td>
<% If rs.Fields("Defaultversion") = rs.Fields("Mediaversion") Then %>
<font color="green">(Default)</font>
<% Else %>
<font color="red">(Customized)</font>
<% End If %>
</td>
</tr>
<% End If %>
i am getting mismatch type error .please help me
how can i write if condition to satisfy all the conditions
if the releasename is 15.16 in asp page then array(0)=15 and array(1)=16 is not showing any error but
if the releasename is 15.12win7 or 15.win7 it is showing error how can i write if condition to get into the loop with out showing any error
just i need to enter into loop whether releasename is 15.16 ,15.12win7 or 15.win7
here is the code
<% array = Split(rs.Fields("ReleaseName").Value, ".")
If CInt(array(0)) >= 15 And Cint(array(1)) >= 16 then
<tr>
<th> Version</th>
<td>
<% If rs.Fields("Defaultversion") = rs.Fields("Mediaversion") Then %>
<font color="green">(Default)</font>
<% Else %>
<font color="red">(Customized)</font>
<% End If %>
</td>
</tr>
<% End If %>