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

Explain DataSet.AcceptChanges and DataAdapter.Update methods.
Explain DataSet.AcceptChanges and DataAdapter.Update methods. DataAdapter.Update method Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet. DataSet.AcceptChanges method Commits all the changes made to this row since the last time Accep...
2014-01-06, 2246👍, 0💬

How are this () and super () used with constructors?
How are this () and super () used with constructors? this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.
2012-12-26, 2246👍, 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, 2244👍, 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, 2242👍, 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, 2242👍, 0💬

ASP.NET Authentication Providers and IIS Security
ASP.NET Authentication Providers and IIS Security ASP.NET implements authentication using authentication providers, which are code modules that verify credentials and implement other security functionality such as cookie generation. ASP.NET supports the following three authentication providers: Form...
2013-11-01, 2242👍, 0💬

Explain the new Features of JDBC 2.0 Core API?
Explain the new Features of JDBC 2.0 Core API? The JDBC 2.0 API includes the complete JDBC API, which includes both core and Optional Package API, and provides inductrial-strength database computing capabilities. New Features in JDBC 2.0 Core API: Scrollable result sets- using new methods in the Res...
2013-02-26, 2242👍, 0💬

Explain how Viewstate is being formed and how it’s stored on client.
Explain how Viewstate is being formed and how it’s stored on client. The type of ViewState is System.Web.UI.StateBag, which is a dictionary that stores name/value pairs. ViewState is persisted to a string variable by the ASP.NET page framework and sent to the client and back as a hidden variable....
2014-01-03, 2241👍, 0💬

Can any object be stored in a Viewstate?
Can any object be stored in a Viewstate? An object that either is serializable or has a TypeConverter defined for it can be persisted in ViewState
2014-01-02, 2241👍, 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, 2238👍, 0💬

How do you separate business logic while creating an ASP.NET application?
How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging enable the trace to true in the line in the html format of the page. %@ Page Language=”vb” trace=”tr...
2014-09-17, 2237👍, 0💬

How is meant by DLL ?
How is meant by DLL ? A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it’s an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatical...
2013-12-20, 2236👍, 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, 2234👍, 0💬

Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset? In ADO, the in-memory representation of data is the recordset. In ADO.NET, it is the dataset. There are important differences between them. * A recordset looks like a single table. If a recordset is to contain data from ...
2014-01-20, 2228👍, 0💬

What are Attributes?
What are Attributes? Attributes are declarative tags in code that insert additional metadata into an assembly. There exist two types of attributes in the .NET Framework: Predefined attributes such as AssemblyVersion, which already exist and are accessed through the Runtime Classes; and custom attrib...
2013-10-31, 2228👍, 0💬

What will be the output of the following code snippet?
What will be the output of the following code snippet? What will be the output of the following code snippet? using System; class MainClass { static void Main( ) { new MainClass().Display( 3.56 ); } private void Display( float anArg ) { Console.Write( “{0} {1}”, anArg.GetType(), anArg ); } dou...
2014-09-02, 2227👍, 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, 2227👍, 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, 2225👍, 0💬

What is the standard you use to wrap up a call to a Web service?
What is the standard you use to wrap up a call to a Web service? Several possible answers depending on your interpretation of the quesiton, but I think you were aiming for SOAP (with the caveat that this is MS’s version of SOAP)
2014-02-13, 2225👍, 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, 2225👍, 0💬

How does a try statement determine which catch clause should be used to handle an exception?
How does a try statement determine which catch clause should be used to handle an exception? When an exception is thrown within the body of a try statement, the catch clauses of the try statement are examined in the order in which they appear. The first catch clause that is capable of handling the e...
2013-06-15, 2225👍, 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, 2223👍, 0💬

Can you have two applications on the same machine one which is using .NET Framework 1.1 and the other using 2.0 ?
Can you have two applications on the same machine one which is using .NET Framework 1.1 and the other using 2.0 ? Can you have two applications on the same machine one which is using .NET Framework 1.1 and the other using 2.0 ? * Yes * No * Depends on System configuration Yes
2014-03-14, 2222👍, 0💬

Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table.
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table. Answer1. a. Select count(*) from table1 b. SELECT object_name(id) ,rowcnt FROM sysindexes WHERE indid IN (1,0) AND OBJECTPROPERTY(id, ‘IsUserTable’) = 1 c. exec sp_table_validation @table = â...
2014-10-08, 2221👍, 0💬

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