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

ASP.NET interview questions only (3)
ASP.NET interview questions only (3) 1. How does ASP page work? 2. How ASP.NET page works? 3. What are the contents of cookie? 4. How do you create a permanent cookie? 5. What is ViewState? What does the “EnableViewState” property do? Whay would I want it on or off? 6. Give an example of what ...
2014-01-08, 2011👍, 0💬

What is managed code and managed data?
What is managed code and managed data? Managed code is code that is written to target the services of the Common Language Runtime. In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All C#, Visual Basic .NET, and JScript .NET code is ma...
2013-10-28, 2011👍, 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, 2010👍, 0💬

Name atleast three methods of response object other than Redirect.
Name atleast three methods of response object other than Redirect. Answer1 a) Response.Clear( ) Clears the content of the current output stream. b) Response.Close( ) Closes the network socket for the current response. c) Response.End( ) Stops processing the current request and sends all buffered con...
2014-09-29, 2009👍, 0💬

What does Server.MapPath do?
What does Server.MapPath do? Answer1 srver.mappath() maps the path given in the argument to the server’s physical path. Answer2 It returns the complete(absolute) path of the file used in parameter. Answer3 It returns a string containing the physical path in the server’s file system that corres...
2014-09-29, 2008👍, 0💬

A structure in C# can be derived from one or more ...
A structure in C# can be derived from one or more ... A structure in C# can be derived from one or more * class * interface * both * none interface.
2014-06-18, 2008👍, 0💬

How can you provide an alternating color scheme in a Repeater control?
How can you provide an alternating color scheme in a Repeater control? AlternatingItemTemplate Like the ItemTemplate element, but rendered for every other row (alternating items) in the Repeater control. You can specify a different appearance for the AlternatingItemTemplate element by setting its st...
2014-01-29, 2008👍, 0💬

With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and
With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and then to force it to repaint? Painting is the slowest thing the OS does, so usually telling it to repaint, but not forcing it allows for the process to take place in the ...
2013-11-21, 2007👍, 0💬

How can I read one character at a time, without waiting for the RETURN key
How can I read one character at a time, without waiting for the RETURN key Alas, there is no standard or portable way to do these things in C. Concepts such as screens and keyboards are not even mentioned in the Standard, which deals only with simple I/O ``streams'' of characters. Input to a compute...
2015-11-11, 2005👍, 0💬

What data type does the RangeValidator control support?
What data type does the RangeValidator control support? Integer,String and Date.
2014-03-07, 2005👍, 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, 2004👍, 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, 2004👍, 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, 2004👍, 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, 2003👍, 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, 2002👍, 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, 2002👍, 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, 2002👍, 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, 2001👍, 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, 2000👍, 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, 2000👍, 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, 2000👍, 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, 2000👍, 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, 1999👍, 0💬

What is the difference between calloc and malloc? ....
What's the difference between calloc and malloc? Which should I use? Is it safe to take advantage of calloc's zero-filling? Does free work on memory allocated with calloc, or do you need a cfree? calloc(m, n) is essentially equivalent to p = malloc(m * n); memset(p, 0, m * n); There is no important ...
2016-03-16, 1998👍, 0💬

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