ASP.NET 2.0

  Home  Microsoft .Net Technologies  ASP.NET 2.0


“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⟩ 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

 157 views

2⟩ 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'

 174 views

14⟩ can u explain one critical mapping? performance issue which one is better? whether connected lookup tranformation or unconnected one?

It depends on your data and the type of operation your doing.

If you need to calculate a value for all the rows or for the maximum rows coming out of the source then go for a connected lookup.Or,if it is not so then go for unconnectd lookup.Specially in conditional case like,we have to get value for a field 'customer' from order tabel or from customer_data table,on the basis of following rule:

If customer_name is null then ,customer=customer_data.ustomer_Id

otherwise

customer=order.customer_name.

So in this case we will go for unconnected lookup

 178 views

15⟩ What is Difference between DataList and GridView?

Gridview can display based on various colums avl in an single query or table. Also can customize it while can sort, edit, delete, insert. Datalist is a data bound list control that displays items using templates. Mainly it is all control bound.

DataList is using to list of all data in tree structure GridView is using to list of all value in table format

 167 views

16⟩ What is different in .Net 1.1 and .Net 2.0?

The main difference is that we can add more control over 1.1 for ex we can do master page,themes and generic classes we use 2.0 it can be comes for to add gridview

Concept of partial classes in .NET 2.0

 149 views

17⟩ Which two properties are on every validation control?

ControlToValidate property and Text property

This is done explicitly by adding the below code Response.Cookies("Name") = "myCookie"

Response.Cookies("Name").Expires = DateAdd("m", 1, Now());

ErrorMessage and ControlToValidate

 136 views