why we use data bind in asp.net

Answer Posted / prasanth

Data Binding is binding controls to data from databases.
With data binding we can bind a control to a particular
column in a table from the database or we can bind the whole
table to the data grid. Data binding provides simple,
convenient, and powerful way to create a read/write link
between the controls on a form and the data in their application
. Working with Data Binding in ASP.NET is slightly different
to working with it in VB .NET. Generally, Datasets don't
maintain a current record that is displayed in bound
controls. In VB .NET, the BindingContext object handles that
and it lets us set the record bound control display. In
ASP.NET, there is no BindingContext object to handle that.
In ASP.NET, we use a DataView
to let the user select which record should be displayed in
bound controls. We bind the controls using data view and use
the RowFilter property of the data view to select the record
we want the bound control to display. Simply said, in VB
.NET we use the Dataset to bind records to the bound control
and in ASP.NET we use a DataView.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a request body?

693


What does asp mean in business?

720


___________ and ____________ properity to be used to create localized version of a form

1724


. which tag i need to use manually to bind columns in a datagrid ?

1816


Who is asp in police?

674


Actually i downloaded Ajax news flash module but i am having issues enabling it on my site. need help.

1564


How do in-process and cross-process communication work in the common language runtime?

693


Name the methods in session object?

754


Why asp is used?

679


Define extranet?

789


Define a class in css?

725


What type of code is found in a code-behind class?

652


what is stored procedural

2142


What is the difference between razor and aspx view engine?

700


Why .Net Does not Support multiple inheritance?

1879