SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 26 | Next

Joydip Kanjilal

"ASP.NET Data Presentation Controls Essentials"


Note how the data source for the GridView Control is associated with the
ObjectDataSource control using the Choose Data Source option.
To configure, click on the Configure Data Source option and then select the business
object that would be used for the CRUD operations. Then click on Next. The
Configure Data Source window pops up. Refer to the following screenshot:
Chapter 1
[ 17 ]
In our example, the business object class is DataManager and the business entity class
is Employee. Hence, we would now select DataManager as the business object from
the Choose your business object option of the Configure Data Source window.
Then, click Next and select the GetAllEmployees(), returns ArrayList as our
business method (that would be used to retrieve data) from the Choose a method
option. Refer to the following screenshot:
Then click on Finish. You are done!
When you execute the application, the output will be something like the
following screenshot:
Introduction to Data Binding in ASP.NET
[ 18 ]
The SQL Data Source Control
Built on top of ADO.NET, the SQL data source control is a non-visual control and
uses the built in ADO.NET objects for its operation. The SQL data source control is
used to access data from any relational database, SQL Server database in particular.


Pages:
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6