why we use data bind in asp.net



why we use data bind in asp.net..

Answer / 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

More ASP Interview Questions

Explain the difference between asp and html? Or why asp is better than html?

0 Answers  


What is the Order of precedence for LOGICAL Operators in ASP?

1 Answers  


what is diff c#and vb.net what is .net framework 3.5 what is webservice with expmles

0 Answers  


How to include active x controls in asp code?

0 Answers  


what is the difference between #include directory in C,C++ and import java.packages in java

0 Answers   Genpact,






Define the asp scripting objects?

0 Answers  


How could u display all of the cookies/cookie values for a user through a Web page in ASP?

0 Answers   Google,


What are the properties used to control the expiration of the page?

1 Answers  


What does Internet Information Server (IIS) assume to be the default language for Active Server Pages? A. Jscript B. JavaScript C. JAVA D. VBScript E. ECMAScript

2 Answers  


What is asp in java?

0 Answers  


What is the maximum size of an array in asp?

0 Answers  


What is the difference between 1.1 and 2.0 .Net framework?

2 Answers   DLI,


Categories