Monday, September 13, 2010

Grouping data

1.)http://pratchev.blogspot.com/2008/03/grouping-with-rownumber.html

2.)http://download.cnet.com/Export-Query-to-Excel-for-SQL-Server/3000-10254_4-10604504.html

Wednesday, June 23, 2010

The Concept of pure object oriented Language

There are following pointswhich need tobe fulfilled by a pureobject oriented language:-

1. C++ allows writing global functions, outside of any class,
while in C# and Java all methods (functions) must be
included in a class.

2. According to "Pure" object oriented principle, no
method/routine should exist without the object. In C++, main
() method can be independant and does not need any class
but Java/C# its static method of "some" class.

3. C++ provides "Friends" which is absolute corruption to
the OO-Principle of encapsulation.

4. According OO-Principle, everything needs to be object.
C++ provide inbuilt datatype- int,float etc which are not
object in their nature. C#/Java also provides same kind of
datatype but its inner presentation is always object. For
example: in java you have got wrapper classes and in C#,
all these types are derived from System.ValueType object.

5. According OO-Principle, one object should have only one
hierarchical parent reference. In C++, Multiple-Inheritance
contradicts this principle.

Friday, May 28, 2010

Latest interview questions with answers

Hi all techies,


After a long gap i am back with some innovations and maverick concept just wait and watch for new updates.

Advance dotnet questions and answers

Q1:What is the difference between WCF and web service?

Answer:Asp.net web services are homogenous.
Asp.net web services can use only HTTP chanenel.
Not supports msmq and tcp binding...

WCF is flexible because its services can be hosted in
different types of applications. The following lists
several common scenarios for hosting WCF services:
IIS
WAS
Self-hosting
Managed Windows Service

WCF = Web services + .Net Remoting + MSMQ + (COM+)

Q2:Can we use WPF in web application?

Ans:No, we can't use WPF in web applicatons but we can use Silverlight cos WPF is for pure windows based application.