<< < 152 153 154 155 156 157 158 159 160 161 162 > >>   Sort: Date

What is view state?
What is view state? The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
2014-01-13, 1982👍, 0💬

What is IIS? Have you used it?
What is IIS? Have you used it? IIS - Internet Information Server IIS is used to access the ASP.Net web applications Yes, I used in ASP.NET web applications.
2013-12-12, 1982👍, 0💬

Why isn't a pointer null after calling free? ...
Why isn't a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it's been freed? When you call free, the memory pointed to by the passed pointer is freed, but the value of the pointer in the caller probably remains unchanged, because C's pass-by-value sem...
2016-04-04, 1981👍, 0💬

Pick the command line that would result in the C# compiler generating an XML documentation file ...
Pick the command line that would result in the C# compiler generating an XML documentation file ... Pick the command line that would result in the C# compiler generating an XML documentation file * csc /doc:NewHome.xml NewHome.cs * c /doc /docfile: NewHome.xml NewHome.cs * csc /doc /out: NewHome.xml...
2014-08-01, 1981👍, 0💬

What is connection pooling and how do you make your application use it?
What is connection pooling and how do you make your application use it? Opening database connection is a time consuming operation. Connection pooling increases the performance of the applications by reusing the active database connections instead of create new connection for every request. Connectio...
2013-12-30, 1981👍, 0💬

What is the difference between VB 6 and VB.NET?
What is the difference between VB 6 and VB.NET? Answer1 VB 1,Object-based Language 2,Doesnot support Threading 3,Not powerful Exception handling mechanism 4,Doesnot having support for the console based applications 5,Cannot use more than one version of com objects in vb application called DLL error ...
2013-11-26, 1980👍, 0💬

What is OLAP?
What is OLAP? OLAP is an acronym for On Line Analytical Processing. It is an approach to quickly provide the answer to analytical queries that are dimensional in nature.
2014-10-29, 1979👍, 0💬

What is a good way to implement complex numbers in C?
What is a good way to implement complex numbers in C? It is straightforward to define a simple structure and some arithmetic functions to manipulate them. C99 supports complex as a standard type. Here is a tiny example, to give you a feel for it: typedef struct { double real; double imag; } complex;...
2015-06-19, 1978👍, 0💬

What methods are fired during the page load?
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.
2014-03-04, 1978👍, 0💬

How to manage pagination in a page?
How to manage pagination in a page? Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself.
2014-01-14, 1977👍, 0💬

What is ADO .NET and what is difference between ADO and ADO.NET?
What is ADO .NET and what is difference between ADO and ADO.NET? ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch.
2014-01-15, 1976👍, 0💬

.NET framework overview
.NET framework overview 1. Has own class libraries. System is the main namespace and all other namespaces are subsets of this. 2. It has CLR(Common language runtime, Common type system, common language specification) 3. All the types are part of CTS and Object is the base class for all the types. 4....
2013-12-06, 1975👍, 0💬

What is the difference between memcpy and memmove?
What is the difference between memcpy and memmove? memmove offers guaranteed behavior if the memory regions pointed to by the source and destination arguments overlap. memcpy makes no such guarantee, and may therefore be more efficiently implementable. When in doubt, it's safer to use memmove. It se...
2015-07-16, 1974👍, 0💬

Explain similarities and differences between Java and.NET?
Explain similarities and differences between Java and.NET? Comparing Java and .NET is comparing apples and oranges. Either the question needs to be to compare Java and C# or J2EE and .NET.
2014-09-22, 1972👍, 0💬

What’s a bubbled event?
What’s a bubbled event? When you have a complex control, likeDataGrid, writing an event processing routine for each object (cell, button,row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of itsconstituents.
2014-03-06, 1972👍, 0💬

How do you get records number from 5 to 15 in a dataset of 100 records? Write code.
How do you get records number from 5 to 15 in a dataset of 100 records? Write code. Answer1 DataSet ds1=new DataSet(); String strCon=”data source=IBM-6BC8A0DACEF;initial catalog=pubs;integrated security=SSPI;persist” +” security info=False;user id=sa;workstation id=IBM-6BC8A0DACEF;packet s...
2014-09-11, 1971👍, 0💬

Which control would you use if you needed to make sure the values in two different controls matched?
Which control would you use if you needed to make sure the values in two different controls matched? Use the CompareValidator control to compare the values of 2 different controls.
2014-02-10, 1971👍, 0💬

How do I round numbers?
How do I round numbers? The simplest and most straightforward way is with code like (int)(x + 0.5) C's floating to integer conversion truncates (discards) the fractional part, so adding 0.5 before truncating arranges that fractions &gt;= 0.5 will be rounded up. (This technique won't work properl...
2015-06-26, 1970👍, 0💬

What is the difference between boxing and unboxing?
What is the difference between boxing and unboxing? Boxing allows us to convert value types to reference types. Basically, the runtime creates a temporary reference-type box for the object on heap. Eg: int i=20; object o=i;
2014-02-13, 1970👍, 0💬

How many types of exception handlers are there in .NET?
How many types of exception handlers are there in .NET? Answer 1: From MSDN&gt;gt; “How the Runtime Manages Exceptions” http://msdn.microsoft.com/libr ary/default.asp?url=/library/en-us/cpguide/htm l/cpconexceptionsoverview.aspThe exception information table represents four types of except...
2013-12-16, 1970👍, 0💬

You cant use dynamically-allocated memory after you free it?
You cant use dynamically-allocated memory after you free it? No. Some early documentation for malloc stated that the contents of freed memory were ``left undisturbed,'' but this ill-advised guarantee was never universal and is not required by the C Standard. Few programmers would use the contents of...
2016-04-04, 1968👍, 0💬

Which method do you invoke on the DataAdapter control to load your generated dataset with data?
Which method do you invoke on the DataAdapter control to load your generated dataset with data? System.Data.Common.DataAdapter .Fill(System.Data.DataSet);If my DataAdapter is sqlDataAdapter and my DataSet is dsUsers then it is called this way: sqlDataAdapter.Fill(dsUsers);
2014-01-28, 1968👍, 0💬

Difference between Panel and GroupBox classes?
Difference between Panel and GroupBox classes? Answer 1: Panel and Group box both can used as container for other controls like radio buttons and check box. the difference in panel and group box are Panel 1) In case of panel captions cannot be displayed 2) Can have scroll bars. Group box 1) Captions...
2013-12-11, 1968👍, 0💬

What base class do all Web Forms inherit from?
What base class do all Web Forms inherit from? System.Web.UI.Page
2014-01-30, 1967👍, 0💬

<< < 152 153 154 155 156 157 158 159 160 161 162 > >>   Sort: Date