ASP.NET 2.0 Interview Preparation Guide
Download PDF
Add New Question

ASP.NET 2.0 Interview Questions and Answers will guide us that ASP.NET 2.0 introduced the concept of master pages, which allow for template based page development. A web application can have one or more master pages, which, beginning with ASP.NET 3.5, can be nested. Master templates have place holder controls, called ContentPlaceHolders to denote where the dynamic content goes, as well as HTML and JavaScript shared across child pages. Learn more with ASP.NET 2.0 Interview Questions with Answers

87 ASP.NET 2.0 Questions and Answers:

1 :: How to rename a table using sql queries?

This done by

exec sp_rename 'oldTableName' , 'newTableName'

Use server side for secure validation. Use client side for fast,user friendly validations.

Execute sp_rename 'oldtablename', 'newtableaname'
Post Your Answer

2 :: Can a .NET web application consume Java web service?

Yeah Offcourse.Actually Webservices are independent to language. it depends on WSDL and SOAP. so any one can develope the Webservices anddisclose the wsdl and users can cosume the webservices.wsdl and soap both are xml based.. and all languages having xml parsing capability and access to http protocol will be able to work with Webservices
Post Your Answer

3 :: How many types of cookies are available in asp?

There are 2 types of cookies

Persistent and Non-persistent


there are 2 types they are
1. inmemory cookies
2. persistent cookies
Post Your Answer

4 :: Explain How is a property designated as read-only?

Using Get Accessor

Public ReadOnly property item() as integer Get() Return.item End Get End Property
Post Your Answer

5 :: Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

DisplayMember and ValueMember Properties need to be set.

DataTextField and DataValueField Property neeeds to be set
Post Your Answer

6 :: What tags do you need to add within the asp: datagrid tags to bind columns manually?

<asp:TemplateColumn>
<HeaderTemplate >
Somename
</HeaderTemplate>
<ItemTemplate>

<%# DataBinder.Eval(Container, "DataItem.columnname") %>
</ItemTemplate>

</asp:TemplateColumn>
Post Your Answer

8 :: Explain What does WSDL stand for?

Web Services Description Language
Post Your Answer

9 :: What is the transport protocol you use to call a Web service SOAP?

Web service use only three types of protocal. first HTTP-GET,HTTP-POST and SOAP.


Web Services Description Language
Post Your Answer
Add New Question