.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

difference between data protection & data hiding

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :ASP.Net


Hello all forum Members,

This is my question related to object oriented programming concept. I can't find a place for it to post.

I think it is the related place for it.

so that, i am posting it here.

I have a doubt in mind related to object oriented programming concept called as "Data Protection".

Can you tell me the difference beteween Data Hiding & Data Protection ? Are they same or is there any difference between them?

If there is any difference, can you explain it to me?

I know Data Hiding concept.

It means that data is concealed within a class, so that it can't be accessed by functions outsid e the class even by mistake.

I want your views on above issue.

Please give your reply.

Thanks in advance.

View Complete Post

More Related Resource Links

Hiding rows/columns completely in SSRS tablix even when they have data

I have several columns and rows in my tablix.  I don't want to see all of them at once.  I am using a parameter that controls the visibility of the columns or rows of the tablix.  The issue is that it hides but the white space is left.  How do i take out that white space?

Best method for hiding a tablix when no data exists

Hello, I am using SSRS 2008. We currently have a number of reports which often have several tables stacked one above the other. In many cases the data supplying one or more of these individual tables returns no rows. Rather than inform the user of this using the no rows message options we simply hide the table since there is no reason for displaying the column and field labels with empty data as this is a waste of space depending on the report in question. In our SSRS2005 reports we often checked the primary key of the tables dataset by comparing it to NOTHING, example: Visability: Hidden = IIF(primary_key = NOTHING, True, False) But when we converted these reports from 2005 to 2008 this became unstable. Sometimes it works, sometimes it does not. What I am hoping to find out is the most stable, if not Microsoft-recommended, method for hiding a tablix(table, matrix or rectangle) if there is no data? I have seen the use of the rowcount option, but I would like to determine if this is the preferred practice before implementing it accross the board on our reports. All help is appreciated. Thanks.

What's the difference between a dynamic data project and adding a gridview to a "normal" project?

Hi,I'm having difficulty understanding what dynamic data actually is.There is an option to specifically create a dynamic data project, but I don't understand the difference between this, and just adding some kind of data control, like a gridview or detailsview for example.If someone can help me understand this better I'd really appreciate it.

What is the techical difference between Data Sources and Data Sources Views ?


Hi friends,

I am total new in SSAS world.

Can anyone explain me, what is the fundamental difference between Data Source and Data Sources Views ?


Thanks !!!

What is the difference between System.Data.SqlClient, System.Data.OledbClient and System.Data.OdbcCl

I would like to know what will be the difference between the sqlclient or oledbclient or odbcclient for accessing data from SQL Server relational database. I would like to point my question in the performance direction.

Hiding data on each row.



In my SSRS report, I need to hide duplicate data in each row except the first row.

there are some fields i should show and some fields i should hide in the duplicate row depending on the condtion.


Thank you.

data hiding(shadowing)


can you explain data hiding in c#?

is it call the method from base class into derived class(by putting new operator) ?

Difference between Data set and data Reader While accessing huge records from Tables



I have few questions regarding the optimization  issue  .

my application is very slow and i have to optimize the application . One issue is data fetching . Currently to retrieve  data we have data reader  which normally gets the data row by row other approach is to change the data reader and implement the data set which will put all the tables in memory and reduce the disk read and write operations . Please suggest me  which one is the best approach.

Best Regards,



Difference between typed dataset and data source controls...?


Hi all DotNeters,

I'm new to this community and got newbie question, briefly in data access in asp.net what is the difference between accessing dataset using typed Dataset and using data sources controls like SQL data source control .?

 As I noticed that using data source controls is much easier, but it allows only one data access method i.e. only one query. am I right with that..

Best regards.

Binding WPF Controls to an Entity Data Model

In this interview, programming writer, McLean Schofield, demonstrates how to bind WPF controls to an entity data model, using Visual Studio 2010 Beta 1. You can also learn more in the topic: Walkthrough: Binding WPF Controls to an Entity Data Model.

Surrogate vs Natural Primary Keys - Data Modeling Mistake 2 of 10

In case you're new to the series I've compiled a list of ten data modeling mistakes that I see over and over that I'm tackling one by one. I'll be speaking about these topics at the upcoming IASA conference in October, so I'm hoping to generate some discussion to at least confirm I have well founded arguments.

The last post in this series Referential Integrity was probably less controversial than this one. After all, who can argue against enforcing referential integrity? But as obvious as surrogate keys may be to some, there is a good deal of diversity of opinion as evidenced by the fact that people continue to not use them.

Editing the Data in a GridView

In addition to deleting a GridView's underlying data, another common need is to allow end users to edit the data displayed in a GridView. With ASP.NET 1.x's DataGrid control, editing the data is certainly possible, but requires creating three event handlers and writing a dozen or so lines of code. With the GridView and ASP.NET 2.0, it is possible to create an editable GridView without writing a single line of code! All of the necessary functionality is encapsulated within the GridView.

The GridView allows editing on a row-by-row basis. An editable GridView contains an additional column with an Edit button in each row. When the end user clicks on an Edit button that row becomes editable, causing the Edit button to change to Update and Cancel buttons and the other columns to become TextBoxes. The end user can then update one or more column values and click Update to save their changes.

Using ASP.NET 3.5's ListView and DataPager Controls: Displaying Data with the ListView

Prior to ASP.NET 3.5, developers who needed to display a set of records could choose between the GridView, DataList, and Repeater controls. The GridView provides rich data features, but has a very boxy layout; the DataList and Repeater allow for a more flexible layout, but lack the "point and click" data features found in the GridView, DetailsView, and FormView controls. The ListView bridges the gap between layout flexibility and built-in data features.

This article, the first in a series of articles on the ListView and DataPager controls, looks at the ListView's many available templates and illustrates how to display data. Read on to learn more!

Dynamic Data Templates in GridView ASP.NET 3.5

At a high level, Dynamic Data Templates can be seen as a system to very quickly build up a User Interface linked with the relevant data model, immediately enabling you to perform CRUD operations (Create, Read, Update, Delete) on the database using the specified data source. They provide a powerful method for building up these kinds of applications, and I'm going to focus on an overview of what Dynamic Data Templates actually are, and a few ways of customizing them to suit industry needs.

MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.

Displaying Data using ASP.NET 2.0 Repeater and C#

This tutorial will show you how to display data using the .NET Repeater Control, ASP.NET 2.0 and C#.NET

The Repeater control is a powerful tool and is easy to use.

First, you will need to import the System.Data.SqlClient namespace.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend