Macromedia dreamweaver 8-using dreamweaver User Manual
Building pages to update a record (ASP.NET)
915
If the page language is C#, enter the following code:
<script runat="server">
void Page_Load() {
void Page_Load() {
if (!IsPostBack) {
dgName.Visible = false;
} else {
dgName.Visible = true;
}
}
</script>
</script>
3.
Save the page.
Creating a detail page (ASP.NET)
Your search page can include a detail page to display more information about specific records
listed in the DataGrid. In this situation, the search page acts as the master page in a master/
detail page set. For more information, see
listed in the DataGrid. In this situation, the search page acts as the master page in a master/
detail page set. For more information, see
Building a record insert page (ASP.NET)
You can use Dreamweaver to build a page that lets users insert new records in a database. The
method you use is identical for all server technologies supported by Dreamweaver. For
instructions, see
method you use is identical for all server technologies supported by Dreamweaver. For
instructions, see
Building pages to update a record
(ASP.NET)
(ASP.NET)
Your application can contain a set of pages that lets users update existing records in a database
table. The pages normally consist of a search page, a results page, and an update page. The
search and results page let users retrieve the record and the update page lets users modify the
record.
table. The pages normally consist of a search page, a results page, and an update page. The
search and results page let users retrieve the record and the update page lets users modify the
record.
This section describes the steps to build pages to update a record:
■
■
■
■
■