GeekInterview.com
Series: Subject: Topic:

DotNet Interview Questions

Showing Questions 1 - 20 of 169 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Error while accessing the uploaded website

Asked By: ushalakshmi | Asked On: Nov 5th, 2008

Hi,recently I deployed a website using godaddy.Com.But while accessing the website we r not getting internal pages.I m getting an error likean error has occurred while establishing a connection to the server. When connecting to SQL server 2005, this failure may be caused by the fact that under the...

Answered by: Nidhi Kumari on: Dec 12th, 2013

Check whether connection is proper or not... like.. whether connection string provided is proper or not....
check it by using try catch block.

Answered by: iaskalyani45 on: Jan 18th, 2013

Check whether you uploded SQL Server or not.

How many types of assemblies are there , wat are they?

Asked By: sai4u | Asked On: Oct 10th, 2005

Answered by: Cuddly on: Nov 8th, 2013

Private
Public/Shared and
Satellite

Answered by: haritha on: Sep 7th, 2012

There are two types of assemblies 1.Private Assembly 2.Public/shared assembly -Private assemble that can be used only with in a software applications is called private assembly. -.Exe file extension...

Explain the differences between server-side and client-side code?

Asked By: Interview Candidate | Asked On: Aug 13th, 2005

Answered by: niyas on: Nov 23rd, 2012

The code which running at the client web browser is called client side scripting whereas code which is running at the web server is known as server side scripting..
Examples for client side scripting is: javascript,VBScript ..
Example for server side scripting is: ASP.NET,PHP,JavaEE ..

Answered by: ashok chowdary on: Jun 7th, 2012

The code which executed on server is called server side code( .ASPX file whis server side code)
The code which is executed on client System is called client side code(Example: java script which is client side code)

What is managed code and managed data?

Asked By: Interview Candidate | Asked On: Sep 7th, 2004

Managed code is code that is written to target the services of the common language runtime. In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All c#, visual basic .Net, and jscript .Net code is managed by default. Visual studio .Net...

Answered by: Ashok chowdary on: Jun 7th, 2012

The code which is executed under the control of dotnet frame work which called as managed code

Answered by: swaroop on: Oct 29th, 2011

The code which targets clr while execution is called as managed code and the code which takes operating system help while execution is called as unmanaged code

Can we run dot.Net in UNIX plateform

Asked By: kulwant kumar | Asked On: Sep 15th, 2005

Answered by: Ashok chowdary on: Jun 7th, 2012

Yes you can run becoz dotnet is platform independent language

Answered by: swaroop on: Oct 29th, 2011

There in no clr for unix to run......net became partially platform independent for this reason only

What is meant by line item dimension?

Asked By: Interview Candidate | Asked On: Jun 9th, 2005

Answered by: Sandhya.Kishan on: May 25th, 2012

Line item dimension is a concept where the dimension precisely contains one characteristic.The line item dimension does not create a dimension table, instead the role of dimension table is taken by the characteristics of the SID table
.

Is .Net platform independent ?

Asked By: Soha | Asked On: Sep 30th, 2006

Answered by: Kiran on: May 14th, 2012

.net framework is partially dependent and partially independent language. This is because the .net applications works on windows OS and also Linux OS (Of course with help of framework called MONO fram...

Answered by: sunitha on: Jan 27th, 2012

Because JVM supports all operating systems so Java is pure platform independent.

How can retrieve the data from database? What is cell in dot frameworks?

Asked By: sushil kumar | Asked On: Apr 18th, 2007

Answered by: vikramreddy on: Feb 15th, 2012

FOR CONNECT

1.establish the connection between the database

2.send the request(execute the command)

3.get the data form data base

4.close connection

Answered by: mike19 on: Sep 22nd, 2011

Copy/Paste the code and study it. For me it works."c# using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Data; namespace...

Garbage collection in .Net

Asked By: sushil_gupta | Asked On: Jan 17th, 2011

When we say that gc works on "heap" memory then how "stack" memory gets freed or deallocated? Can someone tell me the algorithm used by gc to free the memory?

Answered by: Smith on: Jan 22nd, 2012

Garbage collection removes the objects from heap after certain time.

Answered by: siva on: Jan 6th, 2012

.Net Frameworks -Memory Management Garbage Collector which manages allocation and release of memory from application.Now developers no need to worry about memory allocated for each object which is cre...

Common type system (cts)

Asked By: narens.form | Asked On: Jun 30th, 2010

What is "common type system" (cts)?

Answered by: swaroop on: Oct 29th, 2011

Cts provided common data type for all the languages ...like system.int 16 and system .int 32.....

Answered by: Praveen Chandra on: May 23rd, 2011

CTS defines all basic types that every language must follow the dotnet frameworkExample:In VB.net declare integer as "Dim i as integer"In C#.net declare integer as "integer i"

Catch (exception)

Asked By: narens.form | Asked On: Jun 30th, 2010

Why is catch (exception) almost always a bad idea?

Answered by: Charushila Kedar on: Oct 25th, 2011

In try block we write the code of error occurring coding..
To handle this error, program needs an handler to this error., So, we can handle this by using Catch handler

Answered by: prasadraja07 on: Sep 5th, 2011

While executing the program the program may contain error and it will catch the error of your program.

ADO.Net

Asked By: rajula.rafeeq | Asked On: Jun 9th, 2008

What is ADO .Net? Define the data providers and classes of ADO.Net and its purpose with example?

Answered by: sairam on: Oct 23rd, 2011

ADO.Net: Activex data obejct. By using ADO.NET data can be retrieved from one data source and saved in another. ADO.NET is a part of .NET framework architecture. A DATA PROVIDER is used for connect...

Answered by: priyanka roy on: Aug 27th, 2010

ADO.Net: Activex data obejct. The most important section in ADO.NET architecture is "Data Provider".  Data Provider provides access to datasource (SQL SERVER, ACCESS, ORACLE). ...

What is a delegate, how many types of delegates are there

Asked By: mani | Asked On: Sep 18th, 2006

Answered by: SAIRAM on: Oct 23rd, 2011

A delegate is a reference type variable , which holds the reference of a method. This reference can be changed at run time , as desired. Two types of delegates :- 1. single-cast delegate - can call o...

Answered by: deepak kumar choudhary on: Oct 12th, 2011

A delegate will allow us to specify what the function we'll be calling looks like without having to specify which function to call. The declaration for a delegate looks just like the declaration for a...

What is the base class of .Net?

Asked By: Interview Candidate | Asked On: Jul 22nd, 2005

Answered by: Vivek on: Sep 26th, 2011

Object class is the base class of dot net

Answered by: GOPINATH.P on: Sep 12th, 2011

System.object is the base class for VB.NET

How many classes can a single .Net dll contain?

Asked By: Interview Candidate | Asked On: Jul 31st, 2005

Answered by: Leena on: Aug 9th, 2011

A single DLL contains many classes

Answered by: vvbabu on: Jul 31st, 2005

Many

Differences between datagrid, datalist and repeater?

Asked By: Interview Candidate | Asked On: Sep 7th, 2004

1. Datagrid has paging while datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (this is of great help in designing layouts). This is not there in datagrid. 3. A repeater is used when more intimate control over HTML generation is required. 4. When only...

Answered by: indira reddy. A on: Jul 20th, 2011

Differences between Datagrid, Datalist and Repeater? 1. Datagrid has paging while Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (This is of great help in...

Answered by: samiksc on: Jan 13th, 2006

Datagrid is most restrictive as regards to customization followed by DataList and finally Repeater is the most customizable.Datagrid has built in paging, sorting and editing capabilities which are not...

What is delayed signing? How can we do a delayed signing for a dll which has to be shared?

Asked By: Khader Hassan Khan M | Asked On: Jan 16th, 2007

Answered by: karthik palanichamy on: May 9th, 2008

Delay signing allows you to place a shared assembly in the GAC by signing the assembly with just the public key. This allows the assembly to be signed with the private key at a later stage, when the d...

Answered by: kavitha2007 on: Mar 5th, 2007

Delay signing is the process of adding strong name to the assembly at the later stage of development.Signing an assembly means adding a strong name to the assembly.As the strong name is added at the l...

What tag do you use to add a hyperlink column to the datagrid?

Asked By: Interview Candidate | Asked On: Mar 15th, 2005

Answered by: Praveen Chandra on: May 25th, 2011

By specifying tag between tag , we add a hyperlink column to the data grid

Answered by: Somnath on: Jul 27th, 2006

ButtonColumn is used to add link to datagrid. & set the ButtonType to LinkButton

How u can create XML file?

Asked By: Gopal | Asked On: Sep 11th, 2005

Answered by: Praveen Chandra on: May 25th, 2011

1.Right Click on your project in solution explorer2.Select XMLfile in "add new itel list" and3.Click on Add buttonNow u will found a XML file in your project

Answered by: sourabh on: May 6th, 2006

XmlTextWriter textWriter=new XmlTextWriter("filename.xml"); //WriteStartDocument and WriteEndDocument methods open and close a document for writing textWriter.WriteStartDocument() /...

Explain how the page is executed in ASP.Net ?

Asked By: SIVAKUMAR | Asked On: Sep 27th, 2007

Answered by: Praveen Chandra on: May 25th, 2011

Page Execution in asp.net life cycle is1.PageInit()2.Pageload()3.Prerender()4.Pageunload()

Answered by: maverick_dude on: Dec 1st, 2007

An ASP.Net page consists of, at a  minimum, a single .aspx file and can contain other files associated also with the page. The .aspx file is called the content file as it has the visual content o...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.