<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Rank

Explain similarities and differences between Java and.NET?
Explain similarities and differences between Java and.NET? Comparing Java and .NET is comparing apples and oranges. Either the question needs to be to compare Java and C# or J2EE and .NET.
2014-09-22, 1519👍, 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, 1614👍, 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, 1499👍, 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, 1604👍, 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, 1456👍, 0💬

What is the maximum length of a varchar in SQL Server?
What is the maximum length of a varchar in SQL Server? Answer1 VARCHAR[(n)] Null-terminated Unicode character string of length n, with a maximum of 255 characters. If n is not supplied, then 1 is assumed. Answer2 8000 Answer3 The business logic is the aspx.cs or the aspx.vb where the code is being w...
2014-09-15, 1385👍, 0💬

How do you call and execute a Stored Procedure in.NET? Give an example.
How do you call and execute a Stored Procedure in.NET? Give an example. Answer1 ds1=new DataSet(); sqlCon1=new SqlConnection(connectionstring );String strCom1=”byroyalty”; sqlCom1=new SqlCommand(strCom1,sqlCon1); sqlCom1.CommandType=CommandTyp e.StoredProcedure;sqlDa1=new SqlDataAdapter(sqlCom...
2014-09-15, 1410👍, 0💬

How do you get records number from 5 to 15 in a dataset of 100 records? Write code.
How do you get records number from 5 to 15 in a dataset of 100 records? Write code. Answer1 DataSet ds1=new DataSet(); String strCon=”data source=IBM-6BC8A0DACEF;initial catalog=pubs;integrated security=SSPI;persist” +” security info=False;user id=sa;workstation id=IBM-6BC8A0DACEF;packet s...
2014-09-11, 1531👍, 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, 1478👍, 0💬

On order to get assembly info which namespace we should import?
On order to get assembly info which namespace we should import? System.Reflection Namespace
2014-09-08, 1543👍, 0💬

What are good ADO.NET object(s) to replace the ADO Recordset object?
What are good ADO.NET object(s) to replace the ADO Recordset object? The differences includes In ADO, the in-memory representation of data is the recordset. In ADO.net, it is the dataset A recordset looks like a single table in ADO In contrast, a dataset is a collection of one or more tables in ADO....
2014-09-08, 1445👍, 0💬

How many classes can a single.NET DLL contain?
How many classes can a single.NET DLL contain? Answer1: As many Answer2: One or more
2014-09-04, 1718👍, 0💬

To test a Web Service you must create a windows application or web application to consume this service? It is True/False?
To test a Web Service you must create a windows application or web application to consume this service? It is True/False? FALSE
2014-09-04, 1562👍, 0💬

What will be output for the given code?
What will be output for the given code? What will be output for the given code? Dim I as integer = 5 Do I = I + 2 Response.Write (I &amp; " ") Loop Until I &gt; 10 * 5 8 * 5 7 9 * 7 9 11 * Errors out 7 9 11 (if corrected)
2014-09-02, 1429👍, 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, 1542👍, 0💬

How can be the web application get configured with the following authorization rules ...
How can be the web application get configured with the following authorization rules ... How can be the web application get configured with the following authorization rules * Anonymous users must not be allowed to access the application. * All persons except David and John must be allowed to access...
2014-08-29, 1613👍, 0💬

What is the output for the below mentioned compilation command>csc /addmodule:A.Exe B.Cs
What is the output for the below mentioned compilation command>csc /addmodule:A.Exe B.Cs What is the output for the below mentioned compilation command>csc /addmodule:A.Exe B.Cs * A.exe * B.exe * A.dll * B.dll B.exe
2014-08-29, 1718👍, 0💬

If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is
If we develop an application that must accommodate multiple security levels through secure login and ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? If we develop an application t...
2014-08-27, 1771👍, 0💬

The ASP.NET directive that lets you cache different versions of a page based on varying input parameters ...
The ASP.NET directive that lets you cache different versions of a page based on varying input parameters ... The ASP.NET directive that lets you cache different versions of a page based on varying input parameters, HTTP headers and browser type is * @OutputCache * @CacheOutput * @PageCache * @CacheA...
2014-08-27, 1626👍, 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, 1676👍, 0💬

What is the output for the following code snippet:..
What is the output for the following code snippet:.. What is the output for the following code snippet: public class testClass { public static void Main(string[] args) { System.Console.WriteLine(args[ 1]);}//end Main }//end class testClass * Compiler Error * Runtime Error * Hello C# world * None of ...
2014-08-25, 1528👍, 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, 1653👍, 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, 1617👍, 0💬

A Few of the Namespaces that get imported by default in an ASPX file are ...
A Few of the Namespaces that get imported by default in an ASPX file are ... A Few of the Namespaces that get imported by default in an ASPX file are * System, System.Data, System.Drawing, System.Globalization * System, System.IO, System.Management, System.Globalization * System, System.Collections,...
2014-08-20, 1470👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Rank