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

What namespaces are necessary to create a localized application?
What namespaces are necessary to create a localized application? What namespaces are necessary to create a localized application? * System.Globalization * System.Globalization and System.Resources. * System.Resources. * System.Array System.Resources
2014-06-27, 1822👍, 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, 1820👍, 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, 1820👍, 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, 1820👍, 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, 1819👍, 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, 1815👍, 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, 1815👍, 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, 1813👍, 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, 1812👍, 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, 1811👍, 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, 1811👍, 0💬

Name atleast two methods of response object other than Transfer.
Name atleast two methods of response object other than Transfer. a) Response.ClearContent( ) Clears the content of the current output stream. b) Response.ClearHeaders( ) Clears the HTTP headers from the current output stream.
2014-10-01, 1811👍, 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, 1811👍, 0💬

State True or False: Any ODBC-compliant database can be accessed through ASP.NET: * True or * False
State True or False: Any ODBC-compliant database can be accessed through ASP.NET: * True or * False True
2014-07-11, 1810👍, 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, 1808👍, 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, 1807👍, 0💬

What are cursors? Name four type of cursors and when each one would be applied?
What are cursors? Name four type of cursors and when each one would be applied? Opening a cursor on a result set allows processing the result set one row at a time. The four API server cursor types supported by SQL Server are: a) Static cursors b) Dynamic cursors c) Forward-only cursors d) Keyset-dr...
2014-10-17, 1806👍, 0💬

What is Serialization in .NET?
What is Serialization in .NET? Anwer1 The serialization is the process of converting the objects into stream of bytes. they or used for transport the objects(via remoting) and persist objects(via files and databases) Answer2 When developing smaller applications that do not have a database (or other ...
2013-12-02, 1806👍, 0💬

How can I split up a string into whitespace-separated fields?
How can I split up a string into whitespace-separated fields? How can I duplicate the process by which main() is handed argc and argv? The only Standard function available for this kind of ``tokenizing'' is strtok, although it can be tricky to use and it may not do everything you want it to. (For in...
2015-08-17, 1805👍, 0💬

How do you define an integer in SQL Server?
How do you define an integer in SQL Server? We define integer in Sql server as var_name int
2014-09-17, 1805👍, 0💬

What does it mean to have quoted_identifier on? What are the implications of having it off?
What does it mean to have quoted_identifier on? What are the implications of having it off? SET QUOTED_IDENTIFIER ON- Causes SQL Server to follow the SQL-92 rules regarding quotation mark delimiting identifiers and literal strings. Identifiers delimited by double quotation marks can be either Transa...
2014-10-15, 1803👍, 0💬

What’s Singleton activation mode?
What’s Singleton activation mode? A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.
2013-11-15, 1803👍, 0💬

When we go for html server controls and when we go for web server controls?
When we go for html server controls and when we go for web server controls? Server controls are a part of ASP.net. When a server control is used there will be an extra overhead on the server to create the control at runtime and accordingly set the values. HTML controls are static controls and are ea...
2014-01-07, 1802👍, 0💬

What are the authentication methods in .NET?
What are the authentication methods in .NET? There are 4 types of authentications. 1.WINDOWS AUTHENTICATION 2.FORMS AUTHENTICATION 3.PASSPORT AUTHENTICATION 4.NONE/CUSTOM AUTHENTICATION The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as sho...
2013-11-26, 1800👍, 0💬

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