<< < 154 155 156 157 158 159 160 161 162 163 164 > >>   Sort: Date

What are remotable objects in .NET Remoting?
What are remotable objects in .NET Remoting? Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an e...
2013-11-12, 1766👍, 0💬

In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events?
In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events? Every Page object (which your .aspx page is) has nine events, most of which you will not have to worry about in your day to day dealings with ASP.NET. The three that you will deal with the...
2014-01-27, 1765👍, 0💬

What are the differences between User control and Web control and Custom control?
What are the differences between User control and Web control and Custom control? Answer1: Usercontrol-&gt; control that is created as u wish. Web Control-&gt; any control placed in web page (web application page) Custom Control-&gt; same as user control with some difference. user contro...
2014-11-10, 1764👍, 0💬

Explain what relationship is between a Process, Application Domain, and Application?
Explain what relationship is between a Process, Application Domain, and Application? Each process is allocated its own block of available RAM space, no process can access another process’ code or data. If the process crashes, it dies alone without taking the entire OS or a bunch of other applicat...
2013-11-08, 1764👍, 0💬

How do you create a permanent cookie?
How do you create a permanent cookie? Setting the Expires property to MinValue means that the Cookie never expires.
2014-02-04, 1763👍, 0💬

What’s a proxy of the server object in .NET Remoting?
What’s a proxy of the server object in .NET Remoting? It’s a fake copy of the server object that resides on the client side and behaves as if it was the server. It handles the communication between real server object and the client object. This process is also known as marshaling.
2013-11-11, 1763👍, 0💬

What is the purpose of UPDATE STATISTICS?
What is the purpose of UPDATE STATISTICS? UPDATE STATISTICS- it updates information about the distribution of key values for one or more statistics groups (collections) in the specified table or indexed view.
2014-10-17, 1762👍, 0💬

If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-pr
If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-provided calendar control, how do you develop it? Do you copy and paste the code into each and every page of your application? Create the Calendar User Control The control we...
2014-09-19, 1761👍, 0💬

Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?
Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically? By using System.Drawing.SystemIcons class, for example System.Drawing.SystemIcons.War ningproduces an Icon with a warning sign in it.
2013-11-25, 1761👍, 0💬

If we write any code for dataGrid methods, what is the access specifier used for that methods in the code behind file and why an
If we write any code for dataGrid methods, what is the access specifier used for that methods in the code behind file and why and how? Give an example. We use Friends Modifer for the dataGrid methods. Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
2014-11-07, 1760👍, 0💬

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component? When to Use Web Services: * Communicating through a Firewall When building a distributed application with 100s/1000s of users spread over multiple locations, there is always the ...
2014-01-20, 1760👍, 0💬

The Syntax for data-binding expressions is ...
The Syntax for data-binding expressions is ... The Syntax for data-binding expressions is * &lt;%# property or collection %> * &lt;%# property or collection #%> * &lt;%$ property or collection %> * &lt;%@ property or collection %> &lt;%# property or collection #%>
2014-07-24, 1758👍, 0💬

Explain assemblies.
Explain assemblies. Answer 1: Assemblies are similar to dll files. Both has the reusable pieces of code in the form of classes/ functions. Dll needs to be registered but assemblies have its own metadata. Answer 2: Assembly is a single deployable unit that contains information about the implementatio...
2013-12-09, 1757👍, 0💬

What’s the use of System.Diagnostics.Process class?
What’s the use of System.Diagnostics.Process class? By using System.Diagnostics.Process class, we can provide access to the files which are presented in the local and remote system. Example: System.Diagnostics.Process(” c:\mlaks\example.txt”)— local file System.Diagnostics.Process(” ...
2013-12-02, 1757👍, 0💬

Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines? The Application_Start event is guaranteed to occur only once throughout the lifetime of the application. It’s a good place to initialize global variables. For example, you might w...
2014-01-21, 1755👍, 0💬

I im dynamically allocating an array, like this ...
I'm dynamically allocating an array, like this: int *iarray = (int *)malloc(nints); malloc isn't returning NULL, but the code isn't working. A:malloc is a low-level, typeless allocator. It doesn't know how you're going to use the memory; all it does is to allocate as many bytes of memory as you ask ...
2016-04-06, 1754👍, 0💬

How does free know how many bytes to free?
How does free know how many bytes to free? The malloc/free implementation remembers the size of each block as it is allocated, so it is not necessary to remind it of the size when freeing. (Typically, the size is stored adjacent to the allocated block, which is why things usually break badly if the ...
2016-03-24, 1754👍, 0💬

What is the difference between these initializations? ....
What is the difference between these initializations? char a[] = "string literal"; char *p = "string literal"; My program crashes if I try to assign a new value to p[i]. A string literal (the formal term for a double-quoted string in C source) can be used in two slightly different ways: 1. As the in...
2016-03-09, 1752👍, 0💬

Which template must you provide, in order to display data in a Repeater control?
Which template must you provide, in order to display data in a Repeater control? ItemTemplate
2014-01-28, 1752👍, 0💬

I have seen function declarations that look like this
I've seen function declarations that look like this: extern int func __((int, int)); What are those extra parentheses and underscores for? They're part of a trick which allows the prototype part of the function declaration to be turned off for a pre-ANSI compiler. Somewhere else is a conditional def...
2015-05-23, 1751👍, 0💬

How can printf use f for type double, if scanf requires lf?
Someone told me it was wrong to use %lf with printf. How can printf use %f for type double, if scanf requires %lf? It's true that printf's %f specifier works with both float and double arguments Due to the ``default argument promotions'' (which apply in variable-length argument lists values of type ...
2015-11-06, 1750👍, 0💬

How do you declare a static variable and what is its lifetime? Give an example.
How do you declare a static variable and what is its lifetime? Give an example. Answer1 static int Myint–The life time is during the entire application. br> Answer2 The static modifier is used to declare a static member, which belongs to the type itself rather than to a specific object. The stati...
2014-09-11, 1750👍, 0💬

Differences between Datagrid, Datalist and Repeater?
Differences between Datagrid, Datalist and Repeater? 1. Datagrid has paging while Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (This is of great help in designing layouts). This is not there in Datagrid. 3. A repeater is used when more intimate control ...
2013-11-20, 1750👍, 0💬

What are the advantages/disadvantages of viewstate?
What are the advantages/disadvantages of viewstate? Disadvantages - Because the view state for a given page must be kept on the server, it is possible for the current state to be out of synchronization with the current page of the browser, if the user uses the Back feature on the browser to go back ...
2014-11-05, 1749👍, 0💬

<< < 154 155 156 157 158 159 160 161 162 163 164 > >>   Sort: Date