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

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, 2082👍, 0💬

What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not? Debug build contain debug symbols and can be debugged while release build doesn’t contain debug symbols, doesn’t have [Contional(”DEBUG”)] methods calls compiled, can’t...
2014-02-25, 2082👍, 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, 2081👍, 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, 2080👍, 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, 2079👍, 0💬

Why is it hard to call this function: sub y { "because" }
Why is it hard to call this function: sub y { "because" } Because y is a kind of quoting operator. The y/// operator is the sed-savvy synonym for tr///. That means y(3) would be like tr(), which would be looking for a second string, as in tr/a-z/A-Z/, tr(a-z)(A-Z), or tr[a-z][A-Z].
2013-09-05, 2079👍, 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, 2077👍, 0💬

One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is ...
One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is ... One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is, that sees requests and responses and modifies them also, is by, * writing a module that extends FormsAuth...
2014-08-25, 2076👍, 0💬

An .ASHX file contains the following ...
An .ASHX file contains the following ... An .ASHX file contains the following * Code-behind that are used in the code * Server Controls that can be called from a code-behind file * HTTP handlers-software modules that handle raw HTTP requests received by ASP.NET * Contains normal ASP.NET code and can...
2014-08-22, 2076👍, 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, 2075👍, 0💬

What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query t
What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query that ran yesterday took 30 seconds, but today it takes 6 minutes”? Answer1. Use Storedprocedure for any optimized result, because it is an compiled code. Answer2. One of...
2014-10-10, 2074👍, 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, 2073👍, 0💬

What is the correct declaration of main?
What is the correct declaration of main? There are two valid declarations: int main(void) int main(int argc, char **argv) although they can be written in a variety of ways. The second parameter may be declared char *argv[] , you can use any names for the two parameters, and you can use old-style syn...
2015-12-22, 2072👍, 0💬

What is the transport protocol you use to call a Web service?
What is the transport protocol you use to call a Web service? Answer1: SOAP. Transport Protocols: It is essential for the acceptance of Web Services that they are based on established Internet infrastructure. This in fact imposes the usage of of the HTTP, SMTP and FTP protocols based on the TCP/IP f...
2014-02-05, 2072👍, 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, 2071👍, 0💬

What is indexing?
What is indexing? If we give proper indexes on a table so that any queries written against this table can run efficiently. As your data sets grow over time, SQL Server will continue to rebuild indexes and move data around as efficiently as possible. This property is known as Indexing.
2014-10-22, 2070👍, 0💬

Specify the best ways to store variables so that we can access them in various pages of ASP.NET application?
Specify the best ways to store variables so that we can access them in various pages of ASP.NET application? Declare the variables in Global.aspx
2014-09-24, 2068👍, 0💬

What are the disadvantages of viewstate/what are the benefits?
What are the disadvantages of viewstate/what are the benefits? Answer1: Disadvantage of viewstate is that additional data is sent to the browser. The benefits are that you do not have to manually manage refreshing the page fields after a submit, (when re-displaying the same page). Answer2: Automatic...
2014-02-11, 2068👍, 0💬

Which one of the following best describes “Type-Safe”< ...
Which one of the following best describes “Type-Safe”< ... Which one of the following best describes “Type-Safe” * It ensures that the data type are safely handled * It ensures that types are not mismatched when they are called so uses a typecasting before referencing any data object...
2014-03-13, 2066👍, 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, 2065👍, 0💬

If you set AutoGenerateColumns=True and still provide custom column definitions ...
If you set AutoGenerateColumns=True and still provide custom column definitions ... State True or False: If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both * True * False False.
2014-07-30, 2065👍, 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, 2062👍, 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, 2061👍, 0💬

Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process. inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll ...
2014-03-03, 2060👍, 0💬

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