GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP
Go To First  |  Previous Question  |  Next Question 
 ASP  |  Question 4 of 147    Print  
<% varType = rsTest("field1").type %>
In the database table, if the datatype for field1 (shown above) is Number, what is the value of varType?
A. The field value.
B. A string description.
C. The field name.
D. NULL.
E. An enumerator.



  
Total Answers and Comments: 4 Last Update: September 04, 2007   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Siva Kumar Raja
 
rsTest("field1").type returns an integer constant for enumerator value

Above answer was rated as good by the following members:
aJacks
September 13, 2005 09:17:50   #1  
sharath K Andugula        

RE: <% varType = rsTest("field1").type %> In...

Answer is C

coz the field declaration is variant type


 
Is this answer useful? Yes | No
October 12, 2005 14:59:14   #2  
venkataramanan        

RE: <% varType = rsTest("field1").type %> In...

The answer will be the type of the field. For the above question the field is meant as integer so the return type would be either constant value of VBInteger or VBLong / 2 or 3 respectively.


 
Is this answer useful? Yes | No
March 29, 2006 06:59:33   #3  
Siva Kumar Raja        

RE: <% varType = rsTest("field1").type %> In...
rsTest( field1 ).type returns an integer constant for enumerator value
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 04, 2007 06:55:25   #4  
salekinkhan Member Since: September 2007   Contribution: 1    

RE: <% varType = rsTest("field1").type %> In...
I think the Answer is C. As the field is a NUMBER the answer should be name of the field.

Thank You

Salekin

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape