Chapter 12 Using (Web hosting plans) Data in Web Pages In

Chapter 12 Using Data in Web Pages In This Chapter Binding data to pages Using the Data Source Configuration Wizard Using the GridView and DetailsView controls Using the DataList and FormView controls Visual Web Developer is a tool for building dynamic, data-driven Web sites dynamic because the information you display on these Web pages doesn t have to be the same for everyone. You can get your site to create a page that s appropriate for every user, showing only the appropriate (user-specific) data from a database. Take a big search engine like Google for instance. When you submit a search string to Google, you re actually submitting a query to its database. What its database spits back are pages and pages of links to Web pages that contain the word or phrase you searched for. In other words, Google s Web site dynamically created the page you see using data from its database. To display data from your site s database in Web pages, you bind data from the database to controls on the page. While sitting on your server, the control is just a placeholder that contains no data. When a Web site visitor requests the page, the control can then be filled with whatever data is appropriate to that specific request. In other words, if 100 different people visit the page, each might see something different, just as 100 different people doing different Google searches see 100 different lists of things in the page that Google sends them. What makes the page dynamic is that the page contains only data that is relevant to the user s request and that changes from user to user. This chapter explores how to use dynamic content in your own Web pages: how to bind the data to controls and how to place that data into your Web site.
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.

Leave a Reply