free classified ads and leads
domain website price


ASP.NET Questions For Interview Set-5

Languages and Programming

Qus: What is the difference between Application_start and Session_start?
Ans: Application_start gets fired when an application receive the very first request.
Session_start gets fired for each of the user session.

Qus: What is inheritance and when would you use inheritance?
Ans: The concept of child class inheriting the behavior of the parent is called inheritance.
If there are many classes in an application that have some part of their behavior common among all , inheritance would be used.

Qus: What is the order of events in a web form?
Ans
1. Init
2. Load
3. Cached post back events
4. Prerender
5. Unload

Qus: Can you edit Data in repeater control?
Ans: No

Qus: Which template you must provide to display data in a repeater control?
Ans: Item Template

Qus: How can you provide an alternating color scheme in a Data Grid?
Ans:Use ALTERNATING ITEM STYLE and ITEM STYLE, attributes or Templates

Qus: Is it possible to bind a data to Text box?
Ans:Yes

Qus: What method I should call to bind data to control?
Ans:Bind Data ()

Qus: How can I kill a user session?
Ans:Call session. abandon.

Qus: Which is the common property among all the validation controls?
Ans:Control To Validate

Qus: How do you bind a data grid column manually?
Ans:Use BoundColumn tag.

Qus: Web services can only be written in .NET, true or false?
Ans:False

Qus: What does WSDL, UDDI stands for?
Ans: Web Service Description Language.
Universal Description Discovery and Integration

Qus: How can you make a property read only? (C#)
Ans:Use key word Read Only

Qus: Which validation control is used to match values in two controls?
Ans:Compare Validation control.

Qus:To test a Web Service I must create either web application or windows application. True or false?
Ans:False

Qus: How many classes can a single .NET assembly contains?
Ans: Any number

Qus: What are the data types available in JavaScript?
Ans:Object is the only data type available.

Qus: Is it possible to share session information among ASP and ASPX page?
Ans:No, it is not possible as both of these are running under different processes.

Qus: What are the caching techniques available?
Ans: Page cahahing,Fragment Caching And Data Caching.

Qus: What are the different types of authentication modes available?

Ans:  Window,Form,Passport, None.

Qus: Explain the steps involved to populate dataset with data?
Ans:Open connection
Initialize Adapter passing SQL and connection as parameter
Initialize Dataset
Call Fill method of the adapter passes dataset as the parameter
Close connection.

Qus: Can I have data from two different sources into a single dataset?
Ans:Yes, it is possible.

Qus: Is it possible to have tables in the dataset that are not bound to any data source?
Ans:Yes, we can create table object in code and add it to the dataset.

Qus: Why do you deploy an assembly into GAC?
Ans: To allow other application to access the shared assembly.

Qus: How do you uninstall assembly from GAC?
Ans: Use Gacutil.exe with U switch.

Qus: What does Regasm do?
Ans: The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently. Once a class is registered, any COM client can use it as though the class were a COM class. The class is registered only once, when the assembly is installed. Instances of classes within the assembly cannot be created from COM until they are actually registered.

Qus: What is the difference between Execute Scalar and Execute None Query?
Ans: Execute Scalar returns the value in the first row first column of a query result set.
Execute Non Query return number of rows affected.

Bookmark and Share




Gallery

Related Topics

Comments



Submit Reviews:


(Enter the characters seen on the image below.)



Promotional Ads

Advertisement

Packers and Movers in Chandigarh
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Kurukshetra

Packers and Movers in Chandigarh
Plot No-123 Sunrise Colony Godown Area Pabhat Zirakpur-140603
Plot No-123 Sunrise Colony Godown Area Pabhat Zirakpur-140603
Jind

Packers and Movers In Satna - VP Max
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Shahdol

Packers and Movers in Sagar
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Ground Floor, Shop 2, JL Institute of Study Center, Tilak Ganj, Ward 14, Sagar, Madhya Pradesh 470002
Sagar

Packers and movers in Mohali
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Mohali

JB Rock Bolts & SN BOLTS
10 A & B Industrial Area (at Vill. Nangal Jarialan)
Distt. Una Himachal Pradesh
Una

Packers and Movers in Zirakpur - Packers and Mover
SCO 3 AKS 2, Bhabat Rd, near Post Office, Zirakpur

Website Design and Development
Bangalore
Hyderabad

JF Engineering Products LLP
Parhar Village, Near Vasai Fata, Eastern Express Highway, Vasai (E), Palghar,
Motilal Nagar Mumbai

Nandishwar Steel
51 M.G. Mahimtura Marg, 3rd Kumbharwada Lane, Opp. Durgadevi Garden
August Kranti Marg Mumbai