<< < 148 149 150 151 152 153 154 155 156 157 158 > >>   Sort: Date

How can I print a character in a printf format string?
How can I print a '%' character in a printf format string? I tried \%, but it didn't work. Simply double the percent sign: %% . The reason it's tricky to print % signs with printf is that % is essentially printf's escape character. Whenever printf sees a %, it expects it to be followed by a characte...
2015-11-09, 1982👍, 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, 1980👍, 0💬

How is a property designated as read-only?
How is a property designated as read-only? In VB.NET: Public ReadOnly Property PropertyName As ReturnType Get ‘Your Property Implementation goes in here End Get End Property in C# public returntype PropertyName { get{ //property implementation goes here } // Do not write the set implementation }
2014-02-07, 1980👍, 0💬

What can be achieved in IL which is not possible in C# ?
What can be achieved in IL which is not possible in C# ? What can be achieved in IL which is not possible in C# ? * Creation of an ArrayList * Creation of a Dictionary * Creation of a two dimensional array * Creation of a non-zero based array Answer1: Creation of a dictionary Answer2: Creation of a ...
2014-06-12, 1979👍, 0💬

What should you do to store an object in a Viewstate?
What should you do to store an object in a Viewstate? Do serialization of convert the object to string
2014-01-03, 1977👍, 0💬

Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one?
Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one? One of ASP.NET’s most useful features is the extensibility of the HTTP pipeline, the path that data takes between client and server. You can use them to extend your ASP.NET applicat...
2014-01-27, 1976👍, 0💬

What’s typical about a Windows process in regards to memory allocation?
What’s typical about a Windows process in regards to memory allocation? 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 applications down...
2013-11-07, 1976👍, 0💬

Which DLL file is needed to be registered for ASP?
Which DLL file is needed to be registered for ASP? The dll needed for the ASP.net is SYSTEM.WEB.dll
2014-09-26, 1973👍, 0💬

How many objects are there in ASP?
How many objects are there in ASP? Answer1 8 objects, they are request,response, server,application,session,fil e,dictionary, textstream. Answer2 There are 6 objects in ASP.net a) Server b) Session c) Application d) ObjectContext e) Response f) Request
2014-09-24, 1972👍, 0💬

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why. Answers1: In a interface class, all methods are abstract without implementation where as in an abstract class some methods we can define concrete. In interface, no accessibility modifiers are a...
2013-12-25, 1972👍, 0💬

How do u call and execute a stored procedure in .NET?
How do u call and execute a stored procedure in .NET? system.Data; system.Data.SqlClient; SqlConnection sqCon = new SqlConnection(”connection string”); SqlCommand sqCmd = new SqCmd(); sqCmd.Connection = sqCon; sqCmd.CommandText = procedure_name; sqCmd.CommandType = CommandType.StoredProcedure;.. .
2014-11-14, 1971👍, 0💬

what is the difference between user control an custom control? advantages/disadvantages?
what is the difference between user control an custom control? advantages/disadvantages? Web user controls Vs Web custom controls Easier to create Vs Harder to create Limited support for consumers who use a visual design tool Vs Full visual design tool support for consumers A separate copy of the co...
2013-12-17, 1971👍, 0💬

What do you know about ADO.NET’s objects and methods?
What do you know about ADO.NET’s objects and methods? ADO.NET provides consistent access to data sources such as Microsoft SQL Server, as well as data sources exposed through OLE DB and XML. Data-sharing consumer applications can use ADO.NET to connect to these different data sources and retrieve...
2014-01-06, 1967👍, 0💬

How can you deploy an asp.net application ?
How can you deploy an asp.net application ? You can deploy an ASP.NET Web application using any one of the following three deployment options. a) Deployment using VS.NET installer b) Using the Copy Project option in VS .NET c) XCOPY Deployment
2014-09-19, 1966👍, 0💬

What is Reflection?
What is Reflection? It extends the benefits of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained in a given assembly and invoke their methods. Reflection provides objects that encapsulate assemblies, modules, and types. You...
2013-10-29, 1966👍, 0💬

Can the validation be done in the server side? Or this can be done only in the Client side?
Can the validation be done in the server side? Or this can be done only in the Client side? Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.
2013-10-01, 1965👍, 0💬

Tell few steps for optimizing (for speed and resource) ASP page/application.
Tell few steps for optimizing (for speed and resource) ASP page/application. Avoid mixing html code with asp code
2014-10-06, 1964👍, 0💬

The Assemblies that can be referenced in an ASPX file without using @Assembly Directive is ...
The Assemblies that can be referenced in an ASPX file without using @Assembly Directive is ... The Assemblies that can be referenced in an ASPX file without using @Assembly Directive is * System.dll, System.Data.dll, System.Web.dll, System.Xml.dll, * System.dll, System.Collections.dll, System.IO.dll...
2014-08-22, 1964👍, 0💬

How do you trigger the Paint event in System.Drawing?
How do you trigger the Paint event in System.Drawing? Invalidate the current form, the OS will take care of repainting. The Update method forces the repaint.
2013-11-21, 1964👍, 0💬

Where does the Web page belong in the .NET Framework class hierarchy?
Where does the Web page belong in the .NET Framework class hierarchy? System.Web.UI.Page
2014-03-05, 1963👍, 0💬

Explain differences between server.transfer and server.execute method?
Explain differences between server.transfer and server.execute method? Answer1: server.transfer-&gt; transefers the server’s control to the requested page given in the parameter. server.Execute-&gt; executes the requested page from the current page itself,with no change in the address bar...
2014-10-22, 1962👍, 0💬

Explain what a diffgram is, and a good use for one?
Explain what a diffgram is, and a good use for one? A DiffGram is an XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. Whe...
2014-01-24, 1962👍, 0💬

If I have more than one version of one assemblies, then how will I use old version in my application? Give an example.
If I have more than one version of one assemblies, then how will I use old version in my application? Give an example. Change the assembly version number in the AssemblyInfo.vb file
2014-11-12, 1960👍, 0💬

The namespaces needed to use data mechanisms in ASP.NET pages are...
The namespaces needed to use data mechanisms in ASP.NET pages are... The namespaces needed to use data mechanisms in ASP.NET pages are * System.Data, System.Data.OleDb or System.Data.SQL * System.Data, System.Data.ODBC * System.Data, System.Data.DataRow * System.Data.DataRowCollection, System.Data.D...
2014-07-17, 1960👍, 0💬

<< < 148 149 150 151 152 153 154 155 156 157 158 > >>   Sort: Date