News:

Build a stunning handcrafted website with IT Acumens

Main Menu

.NET Web Interview Questions And Answers _ 2

Started by ravindar, Mar 26, 2008, 07:09 PM

Previous topic - Next topic

ravindar

.NET Web Interview Questions And Answers

The Equivalent HTML Control for the <input type="button"> tag is
* HtmlInput
* HtmlButton
* HtmlPushButton
* HtmlInputButton

HtmlInputButton

The Equivalent Html Control for the <input type="checkbox"> tag is
* HtmlCheckBox
* HtmlInputChkBox
* HtmlInputCheckBox
* HtmlInputTypeChkBox

HtmlInputCheckBox

Which operator is used for connecting a event with a procedure in C#?
* +=
* =
* both
* none

+=

The Equivalent Html Control for the <select> tag is
* <HtmlSelectInput>
* <HtmlSelect>
* <HtmlInputSelect>
* <HtmlSelectControl>

<HtmlSelect>

State True or False: Events in Web forms are processed before the "Page Load" event
* True
* False

True

What namespaces are necessary to create a localized application?
* System.Globalization
* System.Globalization and System.Resources.
* System.Resources.
* System.Array

System.Resources

A new server-side control can be created by implementing the class
* System.Web.WebControl
* System.Web.UI.WebControl
* System.Web.UI.WebControls.WebControl
* Any one of the above


System.Web.UI.WebControls.WebControl


The parameter "clienttarget = downlevel" does one of the following
* Adds aliases for specific user agents to an internal collection of user agent aliases
* Indicates the useragents level of validating the controls
* Disables all DHTML events(including Validation controls)
* None of the above

None of the above

The methods in C# can be overloaded in which of the following ways
* By having the same method name and specifying different number of parameters
* By giving different method names and same number of parameters
* By having the same method name and specifying different types of parameters
* By giving different method names and same types of parameters

By having the same method name and specifying different types of parameters

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

Integer, String and Date

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.

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

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

True

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

cs.exe

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

TablesCollection object

The namespaces needed to use data mechanisms in ASP.NET pages are
* System.Data, System.Data.OleDb or System.Data.SQL
* System.Data, System.Data.ODBC
* System.Data, System.Data.DataRow
* System.Data.DataRowCollection, System.Data.DbType

System.Data, System.Data.OleDb or System.Data.SQL

What are the different methods to access Database in .NET ?
* OleDB,ODBC,SQLClient
* OleDB, JDBC, SQLServer
* ODBC-JDBC, DataSet, SQLClient
* Datasource, DataSet, DSN

OleDB,ODBC,SQLClient

The two properties of a DataGrid that has to be specified to turn on sorting and paging respectively are
* EnableSorting = "true" and EnablePaging = "true"
* DisableSorting = "false" and DisablePaging = "false"
* AllowSorting = "true" and AllowPaging = "true"
* Sorting = "true" and Paging = "true"

AllowSorting = "true" and AllowPaging = "true"