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

Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler? It’s the Attributesproperty, the Add function inside that property. So btnSubmit.Attributes.Add("onMo useOver","someClientCode();")A simple”Javascript:ClientCode ();”i...
2014-03-07, 2001👍, 0💬

What is "Common Language Runtime" (CLR)?
What is "Common Language Runtime" (CLR)? CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number ...
2013-10-30, 2001👍, 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, 2000👍, 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, 1997👍, 0💬

What is the difference between Convert.ToInt32 and int.Parse?
What is the difference between Convert.ToInt32 and int.Parse? What is the difference between Convert.ToInt32 and int.Parse? * Both are same and both can handle null value. * Convert.ToInt32 can handle null value but int.Parse throws ArgumentNullException error. * int.Parse can handle null value but ...
2014-07-09, 1996👍, 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, 1996👍, 0💬

Can anyone tell me about Secure Socket Layer? How to make use of the technology?
Can anyone tell me about Secure Socket Layer? How to make use of the technology? Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic protocols which provide secure communications on the Internet. There are slight differences between SSL 3.0 and TLS 1.0, bu...
2013-12-23, 1995👍, 0💬

What is boxing?
What is boxing? Boxing is an implicit conversion of a value type to the type object int i = 123; // A value type Object box = i // Boxing Unboxing is an explicit conversion from the type object to a value type int i = 123; // A value type object box = i; // Boxing int j = (int)box; // Unboxing
2014-02-27, 1994👍, 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, 1993👍, 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, 1990👍, 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, 1989👍, 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, 1987👍, 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, 1986👍, 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, 1984👍, 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, 1984👍, 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, 1983👍, 0💬

Contrast the use of an abstract base class against an interface?
Contrast the use of an abstract base class against an interface? Answer1: In the interface all methods must be abstract, in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes Answer2: Wether to Choose VB.NET/C#. B...
2014-02-25, 1983👍, 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, 1982👍, 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, 1981👍, 0💬

What tag do you use to add a hyperlink column to the DataGrid?
What tag do you use to add a hyperlink column to the DataGrid? Depends on who’s definition of hyperlink your using. Manually a std html anchor tag (a) will work or you can use the micro-magical tag
2014-02-12, 1981👍, 0💬

What tags do you need to add within the asp:datagrid tags to bind columns manually?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Answer1: Set AutoGenerateColumns Property to false on the datagrid tag Answer2: tag and either or tags (with appropriate attributes of course)
2014-02-11, 1981👍, 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, 1981👍, 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, 1979👍, 0💬

Why should I use the -w argument with my Perl programs?
Why should I use the -w argument with my Perl programs? Many Perl developers use the -w option of the interpreter, especially during the development stages of an application. This warning option turns on many warning messages that can help you understand and debug your applications. To use this opti...
2013-08-28, 1978👍, 0💬

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