How can we force the connection object to close after my datareader is closed ?
Command method executereader takes a parameter called as commandbehavior wherein we can specify saying close connection automatically after the datareader is close. pobjdatareader = pobjcommand.Executereader(commandbehavior.Closeconnection)
What is the extention of the .Net
Network
The extension for .NET
. stands for linkage with any application
N stands for network
E stands for Embedded
T stands for Technology
What is meant by mutable and immutable classes?
Mutable is liable to change Immutable is not liable to change... String is immutable i.e. Strings cannot be altered. When you alter a string (by adding to it for example), you are actually creating ...
String is Immutable and StringBuilder is mutable.Lets see what does that mean:String is Immutable Immutable means that cannot be overwritten.For ex: let String s="Psingla";In this case a mem...
An assembly is a collection of one or more .exe or .dll s. An assembly is the fundamental unit of application development and deployment for .net framework. It is a collection of types and resources that are built to work together and form a logical unit of functionality.DQ
An assembly is a collection of types and resources which are built to work together and form a logical unit of functionality.It provides common language runtime information depending on the type implementations.
What is the latest version of .Net
4.5
The latest version of .net is ASP.NET 4.5
Get data from SQL server to ASP.Net when application crashes
ASP.Net web application sent a request to get some result set to sq server. The query is processed over there and it sends the result set. When it is on its way, ASP.Net application crashed because of some sort of reason. how to get it back to the application? recently, I faced 2 years experienced interview please...
Use try catch blocks for ASP.Net and SQL Server errors
Define clr and base class libraries.
A base class library is a standard library to all common intermediate languages.With the help of common intermediate language the base class library can encapsulate a large number of common functions,...
clr = common language runtime works like the heart works fr any being........
How does an appdomain get created?
When a managed application is initialised by the .NET runtime an appdomain is created.
AppDomain is created by the .Net worker Process(aspnet_wp.exe).
A data set is stored on the client side and it cannot access the database directly.
Dataset is an in-memory representation of a database. Its stored no where but in memory. Goes off when GC stats after a littl sleep.
ASP.NET is a programming framework used to create enterprise-class Web Applications.Every element in an ASP.NET page is treated as an object and run on the server.
ASP.NET is the latest version of Microsoft's Active Server Pages technology (ASP).
ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating dynamic and interactive web pages
Can we raise_application_error in exception block?? If we use what will happen?
Whenever a message is displayed using RAISE_APPLICATION_ERROR, all previous transactions which are not committed within the PL/SQL Block are rolled back automatically . RAISE_APPLICATION_ERROR is use...
Do we use const keyword only for compile time constants? Explain
Const in C# is a compile time constant as it is closest considered like a #define of a literal value.It is used to define constant values. In C#, we can declare a const of any type as long as the val...
What is enumerated data type ?
Enumerated data type are the variables which can only assume values which have been previously declared. These values can be compared and assigned, but which do not have any particular concrete repres...
What is the satelite assembly?
Through the satellite assembly we can change the language of browser
A .NET Framework assembly containing resources specific to a given language. Using satellite assemblies, you can place the resources for different languages in different assemblies, and the correct as...
What is the need of wcf and wPF
DirectX had this excellent feature of using hardware acceleration. Microsoft wanted to develop UI elements like textboxes, button,grids etc using the DirectX technology by which they can exploit the h...
Usage of dataset and data bindings
How can we bind temporary created data table of one win form into other win form controls?
With the help of Shared(VB.Net)/Static(C#.Net) dataset or datatable object initialized in one form could be used in another form.
Difference between static page and dynamic page?
Static pagesquick and easy to put together, even by someone who doesn't have much experience. Ideal for demonstrating how a site will look. Cache friendly, one copy can be shown to many people. Dynamic pagesoffers highly personalized and customised visitor options. Database access improves the personalized...
Static Websites A static site is a website that is written entirely using HTML. Each web page is a separate document and there are no databases or external files that are drawn upon. This means that...
Static page generally does not have server side coding.Where as Dynamic page has server side coding.WHenever the html code together with scripts that function from the client side is involves sta...
It is the object of SqlConnection class we can provide any naming convention according to our interest
This seems naming convention, we can also use con with database name prefix from which we are seeking connection
What is the difference between ASP.Net and asp
Difference between ASP and ASP.NET ASP.NET: ASP.Net web forms have a code behind file which contains all event handling code. ASP.Net web forms inherit the class written in code behind. ASP.Net web f...
Asp.net is a next of Asp but it's not a upgraded version of Asp. Asp is a interpreted language based on a scripting language like jscripts or vbscript.Asp limited development and debugging tools avail...
.NET support 44 languages only.
A .NET Framework assembly containing resources specific to a given language. Using satellite assemblies, you can place the resources for different languages in different assemblies, and the correct assembly is loaded into memory only if the user elects to view the application in that language