ASP.NET 2.0 Interview Preparation Guide
Prepare comprehensively for your ASP.NET 2.0 interview with our extensive list of 87 questions. Each question is designed to test and expand your ASP.NET 2.0 expertise. Suitable for all experience levels, these questions will help you prepare thoroughly. Get the free PDF download to access all 87 questions and excel in your ASP.NET 2.0 interview. This comprehensive guide is essential for effective study and confidence building.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'
exec sp_rename 'oldTableName' , 'newTableName'
Use server side for secure validation. Use client side for fast,user friendly validations.
Execute sp_rename 'oldtablename', 'newtableaname'
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
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
Persistent and Non-persistent
there are 2 types they are
1. inmemory cookies
2. persistent cookies
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
Public ReadOnly property item() as integer Get() Return.item End Get End Property
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
DataTextField and DataValueField Property neeeds to be set
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>
<HeaderTemplate >
Somename
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container, "DataItem.columnname") %>
</ItemTemplate>
</asp:TemplateColumn>
7 :: What property do you have to set to tell the grid which page to go to when using the Pager object?
itemCommand
8 :: Explain What does WSDL stand for?
Web Services Description Language
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
Web Services Description Language
10 :: Which method do you use to redirect the user to another page without performing a round trip to the client?
Server.Transfer