Set - 8

Question 1 :

The RangeValidator control supports the following datatype
* Integer and String
* Integer, Float, String, XMLDatatypes
* Integer, String and Date
* Integer, Boolean, Short, String and Date

Answer :

Integer, String and Date


Question 2 :

What is the difference between Convert.ToInt32 and int.Parse?
* Both are same and both can handle null value.
* Convert.ToInt32 can handle null value but int.Parse throws ArgumentNullException error.
* int.Parse can handle null value but Convert.ToInt32 throws ArgumentNullException error.
* Both Convert.ToInt32 and int.Parse cannot handle null value.

Answer :

Convert.ToInt32 can handle null value but int.Parse throws ArgumentNullException error.


Question 3 :

State True or False: Any ODBC-compliant database can be accessed through ASP.NET
* True
* False

Answer :

True


Question 4 :

You need to select a .NET language that has auto-documenting features built into the source code and compiler. Given the scenario above what language compiler should be selected?
* vbc.exe
* cl.exe
* ilasm.exe
* cs.exe

Answer :

cs.exe


Question 5 :

A set of tables are maintained in a Dataset as
* TablesCollection object
* DataTableCollection object
* DataRowsCollection object
* TableRowCollection object

Answer :

TablesCollection object