How can you implement encapsulation in asp.net?

Answer Posted / amey

Encapsulation - is the ability of an object to hide its data
and methods from the rest of the world. It is one of the
fundamental principles of Oops.


Ex:- Using System.Data.Sql;

Above example show Hiding all the details from the rest of
the world.

Is This Answer Correct ?    6 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why session is more secure than cookies?

515


What is form method?

501


What do you mean by authentication?

539


Which is faster union or union all?

584


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

1442






Which tool you have done?

1490


What is the use of session in web application?

491


Define dll hell?

639


What are HTTP handlers in ASP.NET?

589


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1783


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

1578


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1418


Can I read the hard disk serial # of the client computer using asp.net?

562


What is difference between abstract class and an interface?

513


Is asp.net mvc still used? : Asp.Net MVC

522