CST141 ASP.NET Database Page 1

Size: px
Start display at page:

Download "CST141 ASP.NET Database Page 1"

Transcription

1 CST141 ASP.NET Database Page ASP.NET Database CST242 Database A database (the data) A computer filing system I.e. Payroll, personnel, order entry, billing, accounts receivable and payable, contact list, etc. A database management system (DBMS) (the software) Program that manipulates the database A DBMS may have a GUI front end, but its database engine physically processes the data Database Processing Maintenance Keeping the database up-to-date (current) Adding, modifying and deleting records Retrieval allows access of meaningful information On-line (on the monitor/screen) Printed reports Database Terminology Database A collection of data tables and relationships Table Individual categories of data entities Record All of the data for one person or entity Called a row in relational DB terminology Field One element of data within a record Called a column in relational DB terminology The Primary Key Field or concatenation (combination) of fields which uniquely identify records in the table Most efficient tool for searching for specific records The primary key also is an index which controls the default sort order for the table Structured Query Language SQL (pronounced see -quel) A relational database language developed by IBM in mid-1970's Represents any data as one or more tables Non-procedural language...

2 CST141 ASP.NET Database Page 2 Lets the DBMS engine determine how the operation will be executed SQL commands can be embedded into procedural language programs like Java Data Retrieval in SQL Reporting in both printed and on-line formats Basic format: SELECT columnlist FROM table(s) WHERE condition SELECT clause limits columns returned (required) FROM clause names table from which data is extracted (required) WHERE clause limits rows returned (optional) Basic SELECT statement SELECT * FROM tablename The * is a wildcard that specifies all columns All rows also will be returned since there is no WHERE clause SELECT * FROM Book SELECT with column list A comma-delimited list of column names (fieldnames) that limits which columns are returned in a query SELECT columnname1[, columnname2 ] FROM tablename SELECT BookCode, Title, Price FROM Book The WHERE Clause (Page 1) Based on the truth condition of a relation condition (like in an if statement) that limits rows returned At least one factor in the WHERE condition will be a column name SELECT columnname1[, columnname2 ] FROM tablename(s) WHERE relation_condition The WHERE Clause (Page 2) Examples: SELECT Title, Type, Price

3 CST141 ASP.NET Database Page 3 FROM Book WHERE Type = "MYS" SELECT Title, PublisherCode FROM Book WHERE Not Paperback 14 The ORDER BY Clause (Page 1) Sorts the rows in the returned table sorting on the column or columns named in the ORDER BY clause SELECT columnname1[, columnname2 ] FROM tablename(s) ORDER BY columnname1[, columnname2 ] The ORDER BY Clause (Page 2) SELECT BookCode, Title, Price FROM Book ORDER BY Title To sort on major and minor sort fields: SELECT PublisherCode, Title FROM Book ORDER BY PublisherCode, Title Relationships (Linking) In databases with more than one table, there is a link on a common field This link (and the relational rules that apply to it) must be enforced By the DBMS as well as by Try Catch processing in the application Referential integrity is the rule which states that a common field in one table must match primary key in the other, or be null (blank) The Foreign Key The field that links a table in a relational database to the primary key in another table There may be multiple instances of a single value of the foreign key; however The foreign key must match one of the values of the primary key in the table to which it links, or by null (blank) SELECT with Join (Page 1) A join operation links related fields from more than one table SELECT columnname1[, columnname2 ] FROM tablename1 INNER JOIN tablename2 ON primarykey = foreignkey

4 CST141 ASP.NET Database Page 4 The datatype and field size of the primarykey and foreignkey fields must be the same SELECT with Join (Page 2) SELECT BookCode, Title, Name FROM Book INNER JOIN Publisher ON Book.PublisherCode = Publisher.PublisherCode Column names that exist in more than one table must be prefixed by the table name, i.e. Book.PublisherCode and Publisher.PublisherCode SELECT with Join and ORDER BY and/or WHERE WHERE and ORDER BY clauses may be combined into the same SQL statement SELECT BookCode, Title, Name FROM Book INNER JOIN Publisher ON Book.PublisherCode = Publisher.PublisherCode ORDER BY Name, Title WHERE Type = "MYS" An ASP.NET Web Site Project In Visual Studio a Web Site is a repository (folder/storage location) that contains files and additional folders that make up the project Creating a New Web Site Project (Page 1) To create a new ASP.NET project: 1. Select the File command from the menu bar 2. Click New from the File menu 3. Click Project from the New submenu; or Creating a New Web Site Project (Page 2) Alternately to create the new project: 1. Select the down arrow point ( ) on the New Project button from the Standard toolbar 2. Click New Project from the New Project submenu Creating a New Web Site Project (Page 3) Then in the New Project dialog window: 1. Make sure to verify that Visual C# is selected in the Installed Templates pane 2. Select ASP.NET Web Application (or ASP.NET Empty Web Application our preference in CST242) template 3. Give the Web Site a Name: 4. Make sure Create directory for solution checkbox stays checked

5 CST141 ASP.NET Database Page Creating a New Web Site Project (Page 4) In the New Web Site dialog window (con.): 4. Enter the project folder Location and name Click the <Browse > button to make it easier to select the folder location 5. Click the <OK> button In the New ASP.NET Project dialog window, from Select a template: select option Empty and click the <OK> button (make no other changes) In the Configure Microsoft Azure Web App dialog window click the <Cancel> button An ASP.NET Web Site (Page 1) Types of files in a website: ASP.NET web forms dynamic (interactive) web forms with two files: (1) the.aspx file which is the web page; and (2) the.aspx.cs file that contains the Visual C# code that runs on the server Image files for the website Configuration files web.config is a file that provides information for the server Static HTML web pages HTML code only; no ASP.NET Server Web controls An ASP.NET Web Site (Page 2) Types of files in a web site (con.): Style sheet files additional information that tells the browser how to format HTML elements; useful for creating consistent style on a Web page, or all the Web pages on a website Script files source code that runs on the client machine in the browser, e.g. JavaScript or VbScript Database files Web Forms in ASP.NET (Page 1) The Web Form consists of two components: The HTML template (.aspx extension) The actual web page that contains the design layout, content and controls A collection of code in a procedure language such as C# that commonly is located behind the Web Form ( aspx.cs extension) The code behind the page Web Forms in ASP.NET (Page 2) The ASP.NET Form Web control handles most of the HTML detail processing for the developer The input controls are generated using ASP.NET web controls, i.e. ASP:TextBox and ASP:Label The ASP:Button Web control is rendered by ASP.NET as a submit button The form is submitted when the button is clicked Web Forms in ASP.NET (Page 3)

6 CST141 ASP.NET Database Page 6 The format of the Form web control which wraps around the input elements is: <form id="formid" runat="server"> </form> This block is inserted automatically into every new ASP.NET web document Web Forms in ASP.NET (Page 4) When the Button control is clicked, the Web form is rendered as a postback <form> element (a POST method) which causes the web form to be reloaded Code (Visual C#) that should execute when the form is submitted is assigned to the Click event of the Button Additional hidden <input> elements are generated which provide information to ASP.NET Adding an Existing Item Existing items might include ASP.NET Web Forms, HTML pages, databases, image files, etc. Start by being certain folder that item is to be inserted into is selected in Solution Explorer 1. Select Project from the menu bar 2. Select Add Existing Item from the Website menu 3. Browse to Look in: folder 4. Select Files of type: from drop-down list 5. Select files and click <Add> button; the item(s) is/are added to specified folder in Solution Explorer Adding a New Item (Page 1) To add a new item/document to an ASP.NET project: 1. Select Project from the menu bar 2. Click Add New Item from the Website menu Or find Add New Item by right-clicking the website folder name in the Solution Explorer window Adding a New Item (Page 2) In the Add New Item dialog window: 1. Make sure to verify that Web is selected under Visual C# in the Installed pane 2. Select the document type an ASP.NET document page is a Web Form 3. Type filename (appropriate extension will be added) 4. Click <Add> button the new item is added to the Solution Explorer window The Solution Explorer Window Window on the upper right of IDE that lists the project files and resources (images, databases, etc.) Save the Web Form

7 CST141 ASP.NET Database Page 7 To save current document, click the <Save> button on the Standard toolbar It should not be necessary to name it in the Save As dialog window since it was given a name when it initially was created Open a Web Site (Page 1) To open an existing ASP.NET project: 1. Select the File command from the menu bar 2. Click Open from the File menu 3. Click Project from the Open submenu Open a Web Site (Page 2) In the Open Web Site dialog window: 1. Select the folder name that contains the Solution file (the main top folder) 2. Select the filename with the.sln extension 3. Click the <Open> button HTML (and ASP.NET) Tags Formatting codes that instruct the browser how to display page elements Tags are enclosed in angle brackets (< >) Most tags are two-sided First tag tells browser to turn on feature Second tag instructs browser to turn it off E.g. <b> begins boldface, </b> turns it off Sections of a Web Document Web pages in HTML usually are divided into two main sections head: defines the title of the page, information about the page to help search engines find it, style sheets, etc. body: specifies the content (visual elements) of the Web page HTML Basic Page Outline <html> <head> identifying elements </head> <body> visual content elements </body> </html> 44 <html> Encloses the entire HTML file

8 CST141 ASP.NET Database Page 8 Identifies the file to browser software as one containing HTML code, e.g. Microsoft Internet Explorer Foxfire Closing tag is </html> <head> Encloses the heading elements of an HTML file, e.g. <title> (the title bar element) <bgsound> (background sound file) <style> (links to style sheet files) <meta> (provides links for search engines) Except for <title> the other elements are not visible to the viewer Closing tag is </head> <title> Defines text displayed in tabs in the browser when the page is displayed Appears inside the <head> </head> block The <title> tag is a required element A title directly reflects a page s ranking in most search engines Closing tag is </title> <body> Encloses body elements of HTML file Elements that appear on the Web page <body> Closing tag is </body> The <img> (Image) Tag (Page 1) The src attribute must be used to name an image (graphic) file to be displayed on page Path is required if file is not located in same directory as the HTML document <img src="path/filename" /> <img src="images/sccclogob.jpg" /> The <img> (Image) Tag (Page 2) There is no closing tag for <img> so it should included a slash (/) meaning the end symbol inside the tag itself, e.g. <img /> Dragging an Image from Solution Explorer In either Source or Design view, the designer and drag an image from the Solution Explorer window into the document

9 CST141 ASP.NET Database Page 9 Creates an HTML <img> tag in the document Properties Window Window on the lower right of IDE where designer sets the properties (characteristics) for objects, controls, classes and other project components Properties can be updated: At design time by changing their values in the Properties Window By writing Visual C# assignment statements in the program code behind the page, e.g. TextBoxCity.Text = "New York"; Using the Style Attribute for Formatting CSS syntax and the style attribute can be used for the formatting of HTML elements To create a style attribute for absolute positioning of an element, e.g. <div style="position:absolute; top:200; left:200" /> Document Views The tabs at the bottom left of the Document window lets the designer select among the following views: Source view the actual ASP.NET code Design view an approximation of the Web page that the code will render in a browser Split view Source view in the upper window and Design view in the lower window Run the Web Site Running an ASP.NET Web Site application means to view it in a Web browser An application may be executed for testing by clicking the <Start debugging> button on the Standard toolbar Close the browser window to stop running It may be necessary to click the <Stop debugging> button ( ) on the toolbar after browser window closes ASP.NET Server Controls Controls are similar to Windows Forms controls ASP.NET controls are identified with the prefix asp: followed by the name of the control, plus a runat="server" attribute and value, e.g. <asp:textbox runat="server"> Some types of ASP.NET Server Controls ASP.NET Form Controls (Web controls) Data Validation Controls Data Controls Mobile Controls (run on mobile devices) The Toolbox Provides access to commonly used controls, e.g. the ASP.NET Server controls

10 CST141 ASP.NET Database Page 10 Can be hidden and made to slide out the Auto Hide feature Hover over the text Toolbox in the left side of the IDE window and it slides into view (the default mode for the Toolbox is hidden) Click the Auto Hide icon (push pin) to turn the feature on and off The ASP:SqlDataSource Web Control (Page 1) The asp:sqldatasource Web control is used to retrieve and modify (insert, update, and delete) data from a database with little or no code Can work with any database that has an associated ADO.NET provider E.g. Microsoft SQL Server, Oracle, ODBC, or OLE DB databases such as Microsoft Access The ASP:SqlDataSource Web Control (Page 2) The SqlDataSource requires that two properties be set (performed by clicking the smart tag and selecting the command Configure Data Source ): ConnectionString specifies the database type, location and filename Created automatically in the Web.config file the first time the SqlDataSource is linked to SqlServer database in the Configure Data Source wizard SelectCommand set to an SQL SELECT query Created automatically by using the Configure the Select Statement window of the wizard Data Source Configuration: New Data Source Switch to Design View and click the smart tag to access the Configure Data Source wizard: On the Configure Data Source window click the <New Connection > button In the Add Connection window, select Microsoft SQL Server Database File as the Data Source Click <Continue> and <Browse > to find database Select it and click the <Open> button Choose Yes, save the connection as to store the connection string in the Web.config file Click <Next> to go to next window of the wizard Data Source Configuration: Existing Connection String Switch to Design View and click the smart tag to access the Configure Data Source wizard: Select the Connection string associated with the desired database from the dropdown list of existing connection strings Click <Next> to go to next window of the wizard Build the SQL Select Statement (Page 1) The Configure the Select Statement step of wizard specifies how to create SELECT statement: Specify columns from a table or view:

11 CST141 ASP.NET Database Page 11 Select the table name and check the columns (fields) of data to be included in the SELECT query Further define the statement by using the <WHERE> and <ORDER BY> buttons The SELECT statement is visible under the heading SELECT statement: Click <Next> and then <Finish> buttons Build the SQL Select Statement (Page 2) The Configure the Select Statement step of wizard specifies how to create SELECT statement (con.): Specify a custom SQL statement or stored procedure: Click <Next> and then click the <QueryBuilder> button to access an intuitive user interface for creating the SELECT statement Click <Add> to add tables to query (then <Close>) Check columns for the query; then click <OK> Build the SQL Select Statement (Page 3) The Configure the Select Statement step of wizard specifies how to create SELECT statement (con.): Specify a custom SQL statement or stored procedure (con.): Finally click <Next> and then <Finish> buttons This tool is helpful especially when joining data from multiple tables The ASP:SqlDataSource Web Control for Inserting, Updating and Deleting Once the SELECT statement is specified Click the <Advanced> button which displays the Advanced SQL Generation Options dialog window Click on the checkbox for the Generate INSERT, UPDATE, and DELETE statements checkbox Adds InsertCommand, UpdateCommand, and DeleteCommand properties to <asp:sqldatasource> control tag The ASP:GridView Web Control (Page 1) Automatically binds to and displays data from a data source control in tabular view (rows and columns) To assign the data source: Click the smart tag and select a data source (e.g. an SQLDataSource object) from the Choose Data Source: drop-down list The source code is updated automatically to include a <Columns> block and <asp:boundfield> tags which represent the data (usually) This formats the columns to represent the fields of the selected query (the data source) The ASP:GridView Web Control (Page 2) When a data source is selected for the GridView control, the following of its properties are updated automatically:

12 CST141 ASP.NET Database Page 12 AutoGenerateColumns how are fields generated?: True from the data source at run-time False uses columns defined in <Columns> block DataKeyNames the DataField property of the BoundColumn(s) that uniquely identify each record (by default the primary key) DataSourceID the ID of its data source controls Customizing ASP:GridView Using AutoFormat Formats the GridView by allowing user to select from a series of predefined styles Click the smart tag for the GridView and click the AutoFormat command Select one of the predefined styles to preview it Click the <OK> button to implement the style The appropriate properties are set in the source code The SQL UPDATE Command (Page 1) Modifies values in an existing row (or rows) within a database table Not all fields need be updated UPDATE TableName SET field1 = value1/"string1"[, field2 = value2/"string2", ] [WHERE fieldname = value/"string"] value(s) may be numeric, Boolean, Date, etc The SQL UPDATE Command (Page 2) Examples: UPDATE Book SET Title = "Of Mice and Women", PublisherCode = "BB", Type = "FIC", Price = 12.59, Paperback =.F. WHERE BookCode = "7711" UPDATE Book SET Price = WHERE BookCode = "7711" 77 The SQL DELETE Command Deletes a row (or more than one row) from a database table DELETE FROM TableName [WHERE fieldname = value/"string"] DELETE FROM Book

13 CST141 ASP.NET Database Page 13 WHERE BookCode = "7711" SQL Parameters (Page 1) Visual Studio uses parameters to represent variable data in a parameterized SQL statement It is an object that can accept different values based upon the logic of the application The values are determined dynamically at run-time SQL Parameters (Page 2) When Generate INSERT, UPDATE, AND DELETE statements is selected, there are three parameter blocks inserted for each into the <asp:sqldatasource> tag: <InsertParameters> parameters used within the SQL Insert statement <UpdateParameters> parameters used within the SQL Update statement <DeleteParameters> parameters used within the SQL Delete statement SQL Parameters (Page 3) The properties for the <asp:parameter> tag include: Name used within the parameterized SQL statement Type data type which is a Visual C# type consistent with the type in the database Format: <asp:parameter Name="nameProperty" Type="dataType" /> Example: <asp:parameter Name="ProductID" Type="String" /> SQL Parameters (Page 4) A parameter is a variable in the form of a question mark (?) within a parameterized SQL statement Example of a parameterized SQL statement: <asp:sqldatasource DeleteCommand="DELETE FROM [Product] WHERE [ProductID] =?" > The question mark (?) is the parameter Editing Data with GridView (Page 1) In GridView records can be edited by adding an Edit command (button or link) within the CommandField column for each record When the button/link is clicked: The page is posted back and all editable fields (not the primary key or other fields set to be read-only) are converted to TextBoxes for updating During editing the Edit button is converted to two buttons, Update and Cancel Editing Data with GridView (Page 2) When the Update button is clicked: The page is posted back again The data source s UpdateCommand is executed The GridView retrieves that updated table from the data source and redisplays the

14 CST141 ASP.NET Database Page 14 data If the Cancel button is clicked: The page is posted back, but GridView is updated from the unmodified data source To configure GridView for editing, click smart tag and click on the Enable Editing checkbox Editing Data with GridView (Page 3) To configure GridView for editing records, click the smart tag and click to check on the Enable Editing checkbox Adds a <asp:commandfield> to the <Columns> block with the ShowEditButton property set to True <asp:commandfield ShowEditButton="True" /> <h1> through <h6> In HTML the <h1> through <h6> tags indicate a heading line and its level Largest font size is <h1>, smallest is <h6> Text displayed in bold font style Automatic double spacing also is implemented after the heading text Often used to indicate titles or to organize a page into sections Closing tags are </h1> through </h6> <p> In HTML divides text into paragraphs Automatic double spacing also is implemented within this tag Closing tag is </p> The ASP:TextBox Web Control (Page 1) The asp:textbox collects text input from users When the TextMode property is set to SingleLine, (default if not entered) creates a one-line textbox <asp:textbox ID="id" runat="server"> </asp:textbox> The ASP:TextBox Web Control (Page 2) Properties: (ID): the object s name Text: the text displayed in the text box (updated as a user keys new or updated text) The ASP:Label Control (Page 1) A Label control is an unattached text object that has a series of properties used for formatting The Text property stores the Label s text that appears on the web form The ASP:Label Control (Page 2) <asp:label ID="LabelID" runat="server" Text="Label Text" [formatting

15 CST141 ASP.NET Database Page 15 properties]></asp:label> <asp:label ID="Label1" runat="server" Text="Publisher Code:" Width="125"></asp:Label> The Button Web Control (Page 1) It functions as an HTML submit button (the form is submitted to the server) A form is most often submitted by clicking on a button The <asp:button> Web server control in ASP.NET has the following format: The control is used to display a push button The push button may be a submit button or a command button (by default it is a submit button) The Button Web Control (Page 2) A submit button does not have a command name and it posts the page back to the server when clicked It is possible to write an event handler to control the actions performed when the submit button is clicked A command button has a command name and allows the creation of multiple Button controls on a page It is possible to write an event handler to control the actions performed when the command button is clicked The Button Web Control (Page 3) <asp:button ID="ButtonID" runat="server" Text="Button Text" /> The Text property is the label displayed on the button A one-sided tag requires tag end character (/) inside it <asp:button ID="ButtonInsertPublisher" runat="server" Text="Insert Publisher" /> The Button Web Control (Page 4) The OnClick property links a Button to a Click event handler (a method) <asp:button ID="ButtonID" runat="server" Text="Button Text" OnClick="MethodName" /> <asp:button runat="server" ID="ButtonInsertPublisher" Text="Insert Publisher" OnClick="ButtonInsertPublisher_Click" /> Events and Event Handlers (Page 1) For almost every object on the Form, the browser can respond to many mouse and keyboard actions Some examples: Click, MouseDown, MouseMove, KeyPress, Validating, Validated

16 CST141 ASP.NET Database Page 16 The event handler for the object and its related event appears as a method within the.aspx.cs file (the C# code for the form) Events and Event Handlers (Page 2) To create event handlers for any control double-click on the object Default event for an asp:button is Click For each event handler method, this registers an OnClick property within the control that links it to the method, e.g.: <asp:button runat="server" ID="ButtonInsertPublisher" Text="Insert Publisher" OnClick="ButtonInsertPublisher_Click" /> Syntax of an Event Handler Header (Page 1) protected type methodname(object sender, EventArgs e) methodname by default consists of the concatenation of the object name and event type Event handler methods have two parameters: sender: a reference which identifies the object (control) which initiated the call to the method e: an object variable that stores property values and methods related to the event Syntax of an Event Handler Header (Page 2) protected type methodname(object sender, EventArgs e) { protected void ButtonInsertPublisher_Click(object sender, EventArgs e) { Manually Insert Values into a SqlDataSource Parameter Assign values to the individual InsertParameters in the collection using the DefaultValue property SqlDataSource.InsertParameters ["ParameterName"].DefaultValue = value; SqlDataSourceInsertPublisher.InsertParameters["PublisherCode"].DefaultValue = TextBoxPublisherCode.Text; The SQL INSERT Command (Page 1) Adds one record to a database table: INSERT INTO TableName VALUES (value1/"string1" [, value2/"string2", ]) The number of fields and data type (including in order) must match those in the database table

17 CST141 ASP.NET Database Page 17 value(s) may be numeric, Boolean, Date, etc The SQL INSERT Command (Page 2) INSERT INTO Book VALUES ("7711", "Of Mice and Men", "BB", "FIC", 10.99,.F.) The SqlDataSource Insert() Method Inserts a new record into the table represented by a SqlDataSource control A SelectCommand must have been configured Values must have been previously assigned all the InsertParameters for fields that require a value SqlDataSource.Insert(); SqlDataSourceInsertPublisher.Insert(); The Response.Redirect Method Causes the browser to redirect the client to (load) a different URL (web address) instead of reposting to itself Response.Redirect("WebAddress"); The WebAddress is a URL passed as a string Examples: Response.Redirect("PublisherTable.aspx); Response.Redirect(" The asp:detailsview Web Control (Page 1) The asp:detailsview displays the values of a single record one at a time from a data source Each row in the DetailsView control represents one field within the record <asp:detailsview ID = "ControlName" runat = "server"> </asp:detailsview> The asp:detailsview Web Control (Page 2) To assign the data source: Click the smart tag and select a data source (e.g. a SQLDataSource object) from the Choose Data Source: drop-down list The rows are formatted automatically to represent the fields of the selected query (data source) The source code is updated automatically to include a <Fields> block and <asp:boundfield> tags which represent the data The asp:detailsview Web Control (Page 3) When a data source is selected for the DetailsView control, the following of its

18 CST141 ASP.NET Database Page 18 properties usually are updated automatically: AutoGenerateColumns how are fields generated? (set to False): True generated from the data source at run-time False permanently defined in the <Fields> block The asp:detailsview Web Control (Page 4) When a data source is selected for the DetailsView control, the following of its properties usually are updated automatically (con.): DataKeyNames the DataField property of the BoundColumn(s) that uniquely identify each record (by default the primary key) DataSourceID the ID of its data source controls The asp:detailsview Web Control (Page 5) Formatting for the DetailsView control is similar to that of the GridView Easiest to use AutoFormat SqlDataSource: ORDER BY When configuring a SqlDataSource control, at the Configure the Select Statement dialog window: Click the <ORDER BY > button to get to the Add ORDER BY Clause dialog box for sorting the result of a SQL SELECT statement Specify up to three columns (fields) to sort the results Second and third columns used for intermediate and minor level sorts within the major sort To change sort order for any column to descending, select Descending option (ascending is default) The asp:dropdownlist Web Control (Page 1) The asp:dropdownlist Web control creates a Form field that allows users to select from drop-down lists of multiple options <asp:dropdownlist ID = "ControlName" runat = "server"> </asp:dropdownlist> The asp:dropdownlist Web Control (Page 2) The list (an Items collection) can be populated in from a data source: Assign the asp:dropdownlist s DataSourceID property to a SqlDataSource object (or some other data source) The easiest way is to use the smart tag (just like GridView and DetailsView) The asp:dropdownlist Web Control (Page 3) Properties for the asp:dropdownlist Web control with a data source: DataSourceID name of the SQLDataSource (or some other data source) that provides the items for the list DataTextField column from the SELECT list of the data source that is the text displayed for each item DataValueField column from the SELECT list of the data source that is the value

19 CST141 ASP.NET Database Page 19 (text) passed to the server for processing when an item is selected Query Strings (Page 1) A query string is part of a URL (web address) that used to send the values from one webpage to other page (like passing arguments) Consists of a series of key and value pairs The key is the variable name The value is a value assigned (=) to the key Multiple keys and values may be joined by using the ampersand (&) character and passed together in the same URL, e.g.: key1=value1[&key2=value2 ] Query Strings (Page 2) In a URL the key and value pairs follow the Web address and a question mark (?) symbol: ] Each of the key and value pairs are separated by an ampersand (&) symbol Query Strings (Page 3) Example when the file has the same path (location): PublisherDetail.aspx?PublisherCode=AH Passing a Query String Through the Response.Redirect Method A query string may be included within the string argument of the Response.Redirect() method Response.Redirect("WebAddress?key1=value1[&key2=value2 " ]); Examples: Response.Redirect(" com/publisherdetail.aspx?publishercode=ah"); Response.Redirect("PublisherDetail.aspx? PublisherCode=AH"); The SelectedValue Property for the DropDownList Control The SelectedValue property represents the text assigned to the Value property for the currently selected item of the DropDownList control DropDownListControlID.SelectedValue DropDownListPublisher.SelectedValue Using the SelectedValue in a QueryString The SelectedValue property of a DropDownList may be used to customize the value element in a query string

20 CST141 ASP.NET Database Page 20 Response.Redirect("PublisherDetail.aspx?PublisherCode=" + DropDownListPublisher.SelectedValue); QueryStringParameters in SELECT Command of SqlDataSource (Page 1) A QueryStringParameter for a SQL SELECT command automatically retrieves values from the query string When configuring the SqlDataSource: Click the <WHERE > button and select the Column (field) for the WHERE clause and the Operator From the Source drop down list select Query String Enter the key name from the query string into the QueryString field textbox QueryStringParameters in SELECT Command of SqlDataSource (Page 2) Process inserts an asp:querystringparameter into SqlDataSource s <SelectParameter> block As opposed to an asp:insertparameter Sets its QueryStringField property to the query string key Additionally inserts a WHERE clause with the parameter into the SELECT statement QueryStringParameters in SELECT Command of SqlDataSource (Page 3) <SelectParameters> <asp:querystringparameter Name="PublisherCode" QueryStringField="PublisherCode" Type="String" /> </SelectParameters> The Request.QueryString Method Retrieves (returns) the collection of key and value pairs from an HTTP query string Request.QueryString["keyName"] The keyname is a string which is the name (key) as assigned when the original query string created by the Response.Redirect method String publishercode = Request.QueryString["PublisherCode"]

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

CST272 GridView Page 1

CST272 GridView Page 1 CST272 GridView Page 1 1 2 3 5 6 7 GridView CST272 ASP.NET The ASP:GridView Web Control (Page 1) Automatically binds to and displays data from a data source control in tabular view (rows and columns) To

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 5 6 8 10 Introduction to ASP.NET and C# CST272 ASP.NET ASP.NET Server Controls (Page 1) Server controls can be Buttons, TextBoxes, etc. In the source code, ASP.NET controls

More information

CST272 Editing Data Page 1

CST272 Editing Data Page 1 CST272 Editing Data Page 1 1 2 8 9 10 11 1 2 12 3 4 135, Updating and Deleting Data CST272 ASP.NET ASP:SqlDataSource Web Control for, Updating and Deleting Click the smart tag for the SqlDataSource, select

More information

CST272 SQL Server, SQL and the SqlDataSource Page 1

CST272 SQL Server, SQL and the SqlDataSource Page 1 CST272 SQL Server, SQL and the SqlDataSource Page 1 1 2 3 4 5 6 7 8 9 SQL Server, SQL and the SqlDataSource CST272 ASP.NET Microsoft SQL Server A relational database server developed by Microsoft Stores

More information

Working with Data in ASP.NET 2.0 :: Using Parameterized Queries with the SqlDataSource Introduction

Working with Data in ASP.NET 2.0 :: Using Parameterized Queries with the SqlDataSource Introduction 1 of 17 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 9 Web Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Explain the functions of the server and the client in Web programming Create a Web

More information

Creating Web Applications Using ASP.NET 2.0

Creating Web Applications Using ASP.NET 2.0 12 Creating Web Applications Using ASP.NET 2.0 12 Chapter CXXXX 39147 Page 1 07/14/06--JHR After studying Chapter 12, you should be able to: Define the terms used when talking about the Web Create a Web

More information

Information Systems Engineering. Presenting data in web pages Using ASP.NET

Information Systems Engineering. Presenting data in web pages Using ASP.NET Information Systems Engineering Presenting data in web pages Using ASP.NET 1 HTML and web pages URL Request HTTP GET Response Rendering.html files Browser ..

More information

CST242 Windows Forms with C# Page 1

CST242 Windows Forms with C# Page 1 CST242 Windows Forms with C# Page 1 1 2 4 5 6 7 9 10 Windows Forms with C# CST242 Visual C# Windows Forms Applications A user interface that is designed for running Windows-based Desktop applications A

More information

Final Web Application Create a new web site under c:\temp\webapps\ and name it Final. Create the following additional folders:

Final Web Application Create a new web site under c:\temp\webapps\ and name it Final. Create the following additional folders: Final Web Application Create a new web site under c:\temp\webapps\ and name it Final. Create the following additional folders: StyleSheets App_Themes (ASP.NET folder, name the Theme1 folder Basic) App_Data

More information

Working with Data in ASP.NET 2.0 :: Sorting Data in a DataList or Repeater Control Introduction

Working with Data in ASP.NET 2.0 :: Sorting Data in a DataList or Repeater Control Introduction 1 of 26 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class

Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class Presented by: Jeff Maddox Director of Platform Integrations, Ministry Brands

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

Dreamweaver MX The Basics

Dreamweaver MX The Basics Chapter 1 Dreamweaver MX 2004 - The Basics COPYRIGHTED MATERIAL Welcome to Dreamweaver MX 2004! Dreamweaver is a powerful Web page creation program created by Macromedia. It s included in the Macromedia

More information

Glossary. advance: to move forward

Glossary. advance: to move forward Computer Computer Skills Glossary Skills Glossary advance: to move forward alignment tab: the tab in the Format Cells dialog box that allows you to choose how the data in the cells will be aligned (left,

More information

Getting Started with Access

Getting Started with Access MS Access Chapter 2 Getting Started with Access Course Guide 2 Getting Started with Access The Ribbon The strip across the top of the program window that contains groups of commands is a component of the

More information

SPARK. User Manual Ver ITLAQ Technologies

SPARK. User Manual Ver ITLAQ Technologies SPARK Forms Builder for Office 365 User Manual Ver. 3.5.50.102 0 ITLAQ Technologies www.itlaq.com Table of Contents 1 The Form Designer Workspace... 3 1.1 Form Toolbox... 3 1.1.1 Hiding/ Unhiding/ Minimizing

More information

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static Table of Contents Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static Series Chart with Dynamic Series Master-Detail

More information

Introduction to using Microsoft Expression Web to build data-aware web applications

Introduction to using Microsoft Expression Web to build data-aware web applications CT5805701 Software Engineering in Construction Information System Dept. of Construction Engineering, Taiwan Tech Introduction to using Microsoft Expression Web to build data-aware web applications Yo Ming

More information

Data Should Not be a Four Letter Word Microsoft Excel QUICK TOUR

Data Should Not be a Four Letter Word Microsoft Excel QUICK TOUR Toolbar Tour AutoSum + more functions Chart Wizard Currency, Percent, Comma Style Increase-Decrease Decimal Name Box Chart Wizard QUICK TOUR Name Box AutoSum Numeric Style Chart Wizard Formula Bar Active

More information

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Installation...INTRO-3 The Chapter Files...INTRO-3 Sample Database...INTRO-3

More information

Working with Data in ASP.NET 2.0 :: Examining the Events Associated with Inserting, Updating, and Deleting Introduction

Working with Data in ASP.NET 2.0 :: Examining the Events Associated with Inserting, Updating, and Deleting Introduction This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx. Working

More information

SOFTWARE SKILLS BUILDERS

SOFTWARE SKILLS BUILDERS USING ACCESS TO CREATE A SCIENCE DATABASE A database allows you to enter, store, retrieve, and manipulate data efficiently. You will first design your database and enter information into a table called

More information

Working with Data in ASP.NET 2.0 :: Paging Report Data in a DataList or Repeater Control Introduction

Working with Data in ASP.NET 2.0 :: Paging Report Data in a DataList or Repeater Control Introduction 1 of 16 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Information Systems Engineering

Information Systems Engineering Connection to a DB Information Systems Engineering Data from Databases Using ASP.NET Several ASP.NET controls allow the presentation of data from a datasource The datasource can be a database The association

More information

Microsoft Excel 2010

Microsoft Excel 2010 Microsoft Excel 2010 omar 2013-2014 First Semester 1. Exploring and Setting Up Your Excel Environment Microsoft Excel 2010 2013-2014 The Ribbon contains multiple tabs, each with several groups of commands.

More information

ASP.NET Pearson Education, Inc. All rights reserved.

ASP.NET Pearson Education, Inc. All rights reserved. 1 ASP.NET 2 Rule One: Our client is always right. Rule Two: If you think our client is wrong, see Rule One. Anonymous 3 25.1 Introduction ASP.NET 2.0 and Web Forms and Controls Web application development

More information

DATABASES 1.0 INTRODUCTION 1.1 OBJECTIVES

DATABASES 1.0 INTRODUCTION 1.1 OBJECTIVES DATABASES Structure Page No. 1.0 Introduction 1 1.1 Objectives 1 1.2 Introduction to MS-Access 2 1.3 Working with MS-Access 3 1.4 Creating Database with MS-Access 3 1.5 Interconnectivity 4 1.6 Summary

More information

Working with Data in ASP.NET 2.0 :: Adding Client Side Confirmation When Deleting Introduction

Working with Data in ASP.NET 2.0 :: Adding Client Side Confirmation When Deleting Introduction This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx. Working

More information

Dive Into Visual C# 2008 Express

Dive Into Visual C# 2008 Express 1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging

More information

The figure below shows the Dreamweaver Interface.

The figure below shows the Dreamweaver Interface. Dreamweaver Interface Dreamweaver Interface In this section you will learn about the interface of Dreamweaver. You will also learn about the various panels and properties of Dreamweaver. The Macromedia

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2011.2 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

Chapter 10. Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 10. Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 10 Database Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives Use database terminology correctly Create Windows and Web projects that display

More information

Configuring Ad hoc Reporting. Version: 16.0

Configuring Ad hoc Reporting. Version: 16.0 Configuring Ad hoc Reporting Version: 16.0 Copyright 2018 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2011.1 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

Objective 1: Familiarize yourself with basic database terms and definitions. Objective 2: Familiarize yourself with the Access environment.

Objective 1: Familiarize yourself with basic database terms and definitions. Objective 2: Familiarize yourself with the Access environment. Beginning Access 2007 Objective 1: Familiarize yourself with basic database terms and definitions. What is a Database? A Database is simply defined as a collection of related groups of information. Things

More information

PL/SQL Developer 7.0 New Features. December 2005

PL/SQL Developer 7.0 New Features. December 2005 PL/SQL Developer 7.0 New Features December 2005 L/SQL Developer 7.0 New Features 3 Contents CONTENTS... 3 1. INTRODUCTION... 5 2. DIAGRAM WINDOW... 6 2.1 CREATING A DIAGRAM...6 2.2 SAVING AND OPENING

More information

Working with Data in ASP.NET 2.0 :: Querying Data with the SqlDataSource Control Introduction

Working with Data in ASP.NET 2.0 :: Querying Data with the SqlDataSource Control Introduction 1 of 15 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications

Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications Murach's ASP.NET 4.5/C#, C3 2013, Mike Murach & Associates, Inc. Slide 1 IntelliSense as an HTML element is entered in Source view IntelliSense

More information

Foreign-Key Associations

Foreign-Key Associations Search ASP.NET Sign In Join Home Get Started Downloads Web Pages Web Forms MVC Community Forums Overview Videos Samples Forum Books Open Source Home / Web Forms / Tutorials / Chapter 3. Continuing with

More information

Microsoft Office Access 2007: Intermediate Course 01 Relational Databases

Microsoft Office Access 2007: Intermediate Course 01 Relational Databases Microsoft Office Access 2007: Intermediate Course 01 Relational Databases Slide 1 Relational Databases Course objectives Normalize tables Set relationships between tables Implement referential integrity

More information

How to use data sources with databases (part 1)

How to use data sources with databases (part 1) Chapter 14 How to use data sources with databases (part 1) 423 14 How to use data sources with databases (part 1) Visual Studio 2005 makes it easier than ever to generate Windows forms that work with data

More information

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge. IBM Cognos Analytics Create a List The following instructions cover how to create a list report in IBM Cognos Analytics. A list is a report type in Cognos that displays a series of data columns listing

More information

ADO.NET 2.0. database programming with

ADO.NET 2.0. database programming with TRAINING & REFERENCE murach s ADO.NET 2.0 database programming with (Chapter 3) VB 2005 Thanks for downloading this chapter from Murach s ADO.NET 2.0 Database Programming with VB 2005. We hope it will

More information

How to set up a local root folder and site structure

How to set up a local root folder and site structure Activity 2.1 guide How to set up a local root folder and site structure The first thing to do when creating a new website with Adobe Dreamweaver CS3 is to define a site and identify a root folder where

More information

Programming with the ASPxGridView

Programming with the ASPxGridView Programming with the ASPxGridView This year is the tenth anniversary of my VB Today column for Codeguru.com and Developer.com. (My first article was published in PC World in 1992.) In that time, during

More information

Getting started with Ms Access Getting Started. Primary Key Composite Key Foreign Key

Getting started with Ms Access Getting Started. Primary Key Composite Key Foreign Key Getting started with Ms Access 2007 Getting Started Customize Microsoft Office Toolbar The Ribbon Quick Access Toolbar Navigation Tabbed Document Window Viewing Primary Key Composite Key Foreign Key Table

More information

ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p.

ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p. Preface p. xix ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p. 6 Personalization p. 6 Master Pages p. 6 Navigation p.

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects

More information

A Guide to Quark Author Web Edition 2015

A Guide to Quark Author Web Edition 2015 A Guide to Quark Author Web Edition 2015 CONTENTS Contents Getting Started...4 About Quark Author - Web Edition...4 Smart documents...4 Introduction to the Quark Author - Web Edition User Guide...4 Quark

More information

Creating Web Pages with SeaMonkey Composer

Creating Web Pages with SeaMonkey Composer 1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it

More information

Using Microsoft Office 2003 Intermediate Word Handout INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 1.

Using Microsoft Office 2003 Intermediate Word Handout INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 1. Using Microsoft Office 2003 Intermediate Word Handout INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 1.2 Summer 2010 Table of Contents Intermediate Microsoft Word 2003...

More information

Overview of the Adobe Dreamweaver CS5 workspace

Overview of the Adobe Dreamweaver CS5 workspace Adobe Dreamweaver CS5 Activity 2.1 guide Overview of the Adobe Dreamweaver CS5 workspace You can access Adobe Dreamweaver CS5 tools, commands, and features by using menus or by selecting options from one

More information

CIS 209 Final Exam. 1. A Public Property procedure creates a property that is visible to any application that contains an instance of the class.

CIS 209 Final Exam. 1. A Public Property procedure creates a property that is visible to any application that contains an instance of the class. CIS 209 Final Exam Question 1 1. A Property procedure begins with the keywords. Public [ReadOnly WriteOnly] Property Private [ReadOnly WriteOnly] Property Start [ReadOnly WriteOnly] Property Dim [ReadOnly

More information

Working with Data in ASP.NET 2.0 :: Displaying Binary Data in the Data Web Controls Introduction

Working with Data in ASP.NET 2.0 :: Displaying Binary Data in the Data Web Controls Introduction 1 of 17 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing Microsoft Expression Web 1. Chapter 2: Building a Web Page 21. Acknowledgments Introduction

COPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing Microsoft Expression Web 1. Chapter 2: Building a Web Page 21. Acknowledgments Introduction Acknowledgments Introduction Chapter 1: Introducing Microsoft Expression Web 1 Familiarizing Yourself with the Interface 2 The Menu Bar 5 The Development Window 7 The Development Area 8 The Tabbed File

More information

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10 CONTENTS Chapter 1 Introduction to Dreamweaver CS3 1 About Dreamweaver CS3 Interface...4 Title Bar... 4 Menu Bar... 4 Insert Bar... 5 Document Toolbar... 5 Coding Toolbar... 6 Document Window... 7 Properties

More information

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex Basic Topics: Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex Review ribbon terminology such as tabs, groups and commands Navigate a worksheet, workbook, and multiple workbooks Prepare

More information

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

The following instructions cover how to edit an existing report in IBM Cognos Analytics. IBM Cognos Analytics Edit a Report The following instructions cover how to edit an existing report in IBM Cognos Analytics. Navigate to Cognos Cognos Analytics supports all browsers with the exception

More information

SelectSurvey.NET Developers Manual

SelectSurvey.NET Developers Manual Developers Manual (Last updated: 5/6/2016) SelectSurvey.NET Developers Manual Table of Contents: SelectSurvey.NET Developers Manual... 1 Overview... 2 Before Starting - Is your software up to date?...

More information

Table of Contents COURSE OVERVIEW... 5

Table of Contents COURSE OVERVIEW... 5 Table of Contents COURSE OVERVIEW... 5 DISCUSSION... 5 THE NEW DATABASE FORMAT... 5 COURSE TOPICS... 6 CONVENTIONS USED IN THIS MANUAL... 7 Tip Open a File... 7 LESSON 1: THE NEW INTERFACE... 8 LESSON

More information

Working with Data in ASP.NET 2.0 :: Adding Validation Controls to the Editing and Inserting Interfaces Introduction

Working with Data in ASP.NET 2.0 :: Adding Validation Controls to the Editing and Inserting Interfaces Introduction This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx. Working

More information

Working with Data in ASP.NET 2.0 :: Adding a GridView Column of Checkboxes Introduction

Working with Data in ASP.NET 2.0 :: Adding a GridView Column of Checkboxes Introduction 1 of 12 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Chapter 3 Using Styles and Templates

Chapter 3 Using Styles and Templates Getting Started Guide Chapter 3 Using Styles and Templates Using Consistent Formatting in Your Documents Copyright This document is Copyright 2018 by the LibreOffice Documentation Team. Contributors are

More information

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE 1 Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE Outline 2.1 Test-Driving the Welcome Application 2.2 Overview of the Visual Studio.NET 2003 IDE 2.3 Creating a Project for the

More information

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and PHPRad PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and Getting Started Creating New Project To create new Project. Just click on the button. Fill In Project properties

More information

3 Customer records. Chapter 3: Customer records 57

3 Customer records. Chapter 3: Customer records 57 Chapter 3: Customer records 57 3 Customer records In this program we will investigate how records in a database can be displayed on a web page, and how new records can be entered on a web page and uploaded

More information

Chapter 7 Inserting Spreadsheets, Charts, and Other Objects

Chapter 7 Inserting Spreadsheets, Charts, and Other Objects Impress Guide Chapter 7 Inserting Spreadsheets, Charts, and Other Objects OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute

More information

Book IX. Developing Applications Rapidly

Book IX. Developing Applications Rapidly Book IX Developing Applications Rapidly Contents at a Glance Chapter 1: Building Master and Detail Pages Chapter 2: Creating Search and Results Pages Chapter 3: Building Record Insert Pages Chapter 4:

More information

Lesson 1: Creating and formatting an Answers analysis

Lesson 1: Creating and formatting an Answers analysis Lesson 1: Creating and formatting an Answers analysis Answers is the ad-hoc query environment in the OBIEE suite. It is in Answers that you create and format analyses to help analyze business results.

More information

Dreamweaver Basics Outline

Dreamweaver Basics Outline Dreamweaver Basics Outline The Interface Toolbar Status Bar Property Inspector Insert Toolbar Right Palette Modify Page Properties File Structure Define Site Building Our Webpage Working with Tables Working

More information

Web Forms ASP.NET. 2/12/2018 EC512 - Prof. Skinner 1

Web Forms ASP.NET. 2/12/2018 EC512 - Prof. Skinner 1 Web Forms ASP.NET 2/12/2018 EC512 - Prof. Skinner 1 Active Server Pages (.asp) Used before ASP.NET and may still be in use. Merges the HTML with scripting on the server. Easier than CGI. Performance is

More information

ImageNow eforms. Getting Started Guide. ImageNow Version: 6.7. x

ImageNow eforms. Getting Started Guide. ImageNow Version: 6.7. x ImageNow eforms Getting Started Guide ImageNow Version: 6.7. x Written by: Product Documentation, R&D Date: September 2016 2014 Perceptive Software. All rights reserved CaptureNow, ImageNow, Interact,

More information

CST272 GridView Page 1

CST272 GridView Page 1 CST272 GridView Page 1 1 2 3 4 5 6 10 Databound List Controls CST272 ASP.NET The ASP:DropDownList Web Control (Page 1) The asp:dropdownlist Web control creates a Form field that allows users to select

More information

Table of Contents. 1. Creating a Microsoft Excel Workbook...1 EVALUATION COPY

Table of Contents. 1. Creating a Microsoft Excel Workbook...1 EVALUATION COPY Table of Contents Table of Contents 1. Creating a Microsoft Excel Workbook...1 Starting Microsoft Excel...1 Creating a Workbook...2 Saving a Workbook...3 The Status Bar...5 Adding and Deleting Worksheets...6

More information

Virto SharePoint Forms Designer for Office 365. Installation and User Guide

Virto SharePoint Forms Designer for Office 365. Installation and User Guide Virto SharePoint Forms Designer for Office 365 Installation and User Guide 2 Table of Contents KEY FEATURES... 3 SYSTEM REQUIREMENTS... 3 INSTALLING VIRTO SHAREPOINT FORMS FOR OFFICE 365...3 LICENSE ACTIVATION...4

More information

OBIEE. Oracle Business Intelligence Enterprise Edition. Rensselaer Business Intelligence Finance Author Training

OBIEE. Oracle Business Intelligence Enterprise Edition. Rensselaer Business Intelligence Finance Author Training OBIEE Oracle Business Intelligence Enterprise Edition Rensselaer Business Intelligence Finance Author Training TABLE OF CONTENTS INTRODUCTION... 1 USER INTERFACE... 1 HOW TO LAUNCH OBIEE... 1 TERMINOLOGY...

More information

Website Creating Content

Website Creating Content CREATING WEBSITE CONTENT As an administrator, you will need to know how to create content pages within your website. This document will help you learn how to: Create Custom Pages Edit Content Areas Creating

More information

How to lay out a web page with CSS

How to lay out a web page with CSS Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style

More information

National Training and Education Resource. Authoring Course. Participant Guide

National Training and Education Resource. Authoring Course. Participant Guide National Training and Education Resource Authoring Course Participant Guide Table of Contents: OBJECTIVES... 4 OVERVIEW OF NTER... 5 System Requirements... 5 NTER Capabilities... 6 What is the SCORM PlayerWhat

More information

Working with Data in ASP.NET 2.0 :: Using Existing Stored Procedures for the Typed DataSet s TableAdapters Introduction

Working with Data in ASP.NET 2.0 :: Using Existing Stored Procedures for the Typed DataSet s TableAdapters Introduction 1 of 20 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Enforce Referential. dialog box, click to mark the. Enforce Referential. Integrity, Cascade Update Related Fields, and. Cascade Delete Related

Enforce Referential. dialog box, click to mark the. Enforce Referential. Integrity, Cascade Update Related Fields, and. Cascade Delete Related PROCEDURES LESSON 8: MANAGING RELATIONSHIPS BETWEEN TABLES Renaming a Table 1 In the Navigation pane, right-click the table you want to rename 2 On the shortcut menu, click Rename 3 Type the new table

More information

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet 1. Macros 1.1 What is a macro? A macro is a set of one or more actions

More information

Advanced Excel. Click Computer if required, then click Browse.

Advanced Excel. Click Computer if required, then click Browse. Advanced Excel 1. Using the Application 1.1. Working with spreadsheets 1.1.1 Open a spreadsheet application. Click the Start button. Select All Programs. Click Microsoft Excel 2013. 1.1.1 Close a spreadsheet

More information

Follow these steps to get started: o Launch MS Access from your start menu. The MS Access startup panel is displayed:

Follow these steps to get started: o Launch MS Access from your start menu. The MS Access startup panel is displayed: Forms-based Database Queries The topic presents a summary of Chapter 3 in the textbook, which covers using Microsoft Access to manage and query an Access database. The screenshots in this topic are from

More information

ITEC447 Web Projects CHAPTER 9 FORMS 1

ITEC447 Web Projects CHAPTER 9 FORMS 1 ITEC447 Web Projects CHAPTER 9 FORMS 1 Getting Interactive with Forms The last few years have seen the emergence of the interactive web or Web 2.0, as people like to call it. The interactive web is an

More information

ECDL Module 4 REFERENCE MANUAL

ECDL Module 4 REFERENCE MANUAL ECDL Module 4 REFERENCE MANUAL Spreadsheets Microsoft Excel XP Edition for ECDL Syllabus Four PAGE 2 - ECDL MODULE 4 (USING MICROSOFT EXCEL XP) - MANUAL 4.1 USING THE APPLICATION... 4 4.1.1 FIRST STEPS

More information

SUM - This says to add together cells F28 through F35. Notice that it will show your result is

SUM - This says to add together cells F28 through F35. Notice that it will show your result is COUNTA - The COUNTA function will examine a set of cells and tell you how many cells are not empty. In this example, Excel analyzed 19 cells and found that only 18 were not empty. COUNTBLANK - The COUNTBLANK

More information

EMC Documentum Forms Builder

EMC Documentum Forms Builder EMC Documentum Forms Builder Version 6 User Guide P/N 300-005-243 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748-9103 1-508-435-1000 www.emc.com Copyright 1994-2007 EMC Corporation. All rights

More information

Index. AutoNumber data types, 154 6, 168 and Number data type, 181 AutoPostBack Property, 505, 511, 513 5, 527 8, AVG, 242, 247 8

Index. AutoNumber data types, 154 6, 168 and Number data type, 181 AutoPostBack Property, 505, 511, 513 5, 527 8, AVG, 242, 247 8 Index A Access queries, 10, 146, 191, 212, 220, 426 7 query design view, 403 types, 190, 236 table design, 141 tables, 10, 133, 136, 150, 426 Access Data Object, 136 7, 148 Access database, 136 8 table,

More information

Workspace Administrator Help File

Workspace Administrator Help File Workspace Administrator Help File Table of Contents HotDocs Workspace Help File... 1 Getting Started with Workspace... 3 What is HotDocs Workspace?... 3 Getting Started with Workspace... 3 To access Workspace...

More information

Management Reports Centre. User Guide. Emmanuel Amekuedi

Management Reports Centre. User Guide. Emmanuel Amekuedi Management Reports Centre User Guide Emmanuel Amekuedi Table of Contents Introduction... 3 Overview... 3 Key features... 4 Authentication methods... 4 System requirements... 5 Deployment options... 5 Getting

More information

Microsoft Access 2010

Microsoft Access 2010 2013\2014 Microsoft Access 2010 Tamer Farkouh M i c r o s o f t A c c e s s 2 0 1 0 P a g e 1 Definitions Microsoft Access 2010 What is a database? A database is defined as an organized collection of data

More information

Let s create another simple report from one of our queries available: Author Age query.

Let s create another simple report from one of our queries available: Author Age query. Microsoft Access 6: Reports & Other Useful Functions This can be a very quick way to build a report, especially if you plan to put only a few fields on your report. When you click on the Blank Report button,

More information

Kendo UI Builder by Progress : Using Kendo UI Designer

Kendo UI Builder by Progress : Using Kendo UI Designer Kendo UI Builder by Progress : Using Kendo UI Designer Notices 2016 Telerik AD. All rights reserved. November 2016 Last updated with new content: Version 1.1 3 Notices 4 Contents Table of Contents Chapter

More information

Forms iq Designer Training

Forms iq Designer Training Forms iq Designer Training Copyright 2008 Feith Systems and Software, Inc. All Rights Reserved. No part of this publication may be reproduced, transmitted, stored in a retrieval system, or translated into

More information

NetAdvantage Reporting Release Notes

NetAdvantage Reporting Release Notes NetAdvantage Reporting 2012.1 Release Notes Use NetAdvantage Reporting, the industry's first WPF and Silverlight-based design-time and rendering reporting tool, to create elegant and easy-to-design reports

More information

SQL Server. Management Studio. Chapter 3. In This Chapter. Management Studio. c Introduction to SQL Server

SQL Server. Management Studio. Chapter 3. In This Chapter. Management Studio. c Introduction to SQL Server Chapter 3 SQL Server Management Studio In This Chapter c Introduction to SQL Server Management Studio c Using SQL Server Management Studio with the Database Engine c Authoring Activities Using SQL Server

More information

Enterprise Architect. User Guide Series. Database Models. Author: Sparx Systems. Date: 19/03/2018. Version: 1.0 CREATED WITH

Enterprise Architect. User Guide Series. Database Models. Author: Sparx Systems. Date: 19/03/2018. Version: 1.0 CREATED WITH Enterprise Architect User Guide Series Database Models Author: Sparx Systems Date: 19/03/2018 Version: 1.0 CREATED WITH Table of Contents Database Models Data Modeling Overview Conceptual Data Model Logical

More information