ASP .Net


What data type does the RangeValidator control support?

Integer,String and Date.

By on September 21, 2010 | ASP .Net

What’s a bubbled event?

When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their event handlers, allowing the main DataGrid event handler to take care of its constituents.

By on | ASP .Net

What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs”?

CodeBehind is relevant to Visual Studio.NET only.

By on | ASP .Net

Where do you store the information about the user’s locale?

System.Web.UI.Page.Culture

By on | ASP .Net

Where does the Web page belong in the .NET Framework class hierarchy?

System.Web.UI.Page

By on | ASP .Net

What methods are fired during the page load?

Init() – when the pageis
instantiated, Load() – when the page is loaded into server memory,PreRender()
- the brief moment before the page is displayed to the user asHTML, Unload()
- when page finishes loading.

By on | ASP .Net

What’s the difference between Response.Write() andResponse.Output.Write()?

The latter one allows you to write formattedoutput.

By on | ASP .Net

Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.

inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe.

By on | ASP .Net

NET is Compile Time OR RunTime Environment?

.Net’s framework has CLS,CTS and CLR.CTS checks declartion of types at the time when u write code and CLS defines some rules and restrictions.and CLR comile everything at runtime with following benefits: Vastly simplified development Seamless integration of code written in various languages Evidence-based security with code identity Assembly-based deployment that eliminates DLL Hell Side-by-side versioning of reusable components Code reuse through implementation inheritance Automatic object lifetime management Self describing objects

By on | ASP .Net

What’s wrong with a line like this? DateTime.Parse(myString)

the result returned by this function is not assigned to anything, should be something like varx = DateTime.Parse(myString)

By on | ASP .Net

Copy Protected by Send free sms - Love2sms.