Intranet Journal   Earthweb  
Images Events Jobs Premium Services Media Kit Network Map E-mail Offers Vendor Solutions Webcasts

   Intranet Journal Subjects
Search Earthweb

Privacy Policy

 

[ Home | Discussion Forum | How Do I... | Lotus Notes Intranets | Microsoft SharePoint | Products | Shopping  ]

free news!

Quality Management ROI Calculator - Focus on Test Automation
The Rational Quality Management ROI calculator is intended to give you an idea of what return you can garner from implementing our functional testing solutions. Our quality management solutions offer tools to develop a continuous process, powered by automation to govern software delivery. »

Gartner MarketScope: Application Quality Management Solutions, 1Q 08
This Gartner MarketScope provides guidance for enterprises seeking to purchase tools to manage risk and software quality. We focus on tools fit for large-scale enterprise use and that are ready out of the box to manage quality requirements and functional testing. »

Whitepaper: Tips for Writing Good Use Cases
Writing a good use case isnt easy, but, fortunately, our experience can be your guide. The concepts and principles assembled here represent the works of many people at IBM, and they form a foundation of proven best practices. »

Whitepaper: The Role of Integrated Requirements Management in Software Delivery
Learn about the critical role integrated requirements management can play in helping ensure your business goals and IT projects are continuously aligned-whether you are sourcing, integrat-ing, building or maintaining your software. It also looks at ways that integration and automation can help ensure managing projects and the required changes can be executed using manageable processes that satisfy stakeholders and development teams. »

Intel Whitepaper: Comparing Multi-Core Processors for Server Virtualization

Dreamweaver MX : The Hidden Tips


Troy Dreier
07/24/02

Go to page: 1  2 

Printer Friendly Version

We wanted to offer you something special for Dreamweaver MX, some tips that you wouldn't find by browsing the manual, so we went straight to MX's development team and asked them for their favorite gems. We told them that we wanted their favorite time-savers, things geared for intranet creation that would give our readers even more productivity for their working hours. And here's what they told us. Hope you like them.

Tip 1: The CSS Mode of the Property Inspector
Here's something not everyone will discover. When you have the Property Inspector open, select some text and click the "A" on the inspector. The Property Inspector will change modes, so that only Cascading Style Sheets styles can be added to the text, rather than the standard font tags, sizes, and so on. This should be a boon to developers creating sites with only CSS elements.

Tip 2: Auto-format XML Documents
In code view, start typing in a well-formed XML document (or else, open an existing XML document). You'll see that even without a document type definition (DTD) defined, Dreamweaver will parse the page and show relevant code hints based on the tags and attributes already placed on the page.

Tip 3: Working with ASP.NET
Developers, you'll notice that when working with the ASP.NET server model there is no menu option to create a dynamic list/menu. Here's the three-step solution:

  1. Create a blank page with the language set to VB or C#, depending on what was selected when defining the site.
  2. Create a database connection by clicking on Windows/Databases. In the Database panel click the "+" button and choose OLE DB Connection. Assign a name to your Connection. Click on Templates, then select Microsoft Access 2000 (Microsoft Jet 4.0 Provider). Fill in the necessary information for your connection, such as the path to your MS Access database. You will need to modify the connection information so that it looks similar to the following:

    Provider=Microsoft.Jet.OLEDB.4.0;
    Data Source=[databaseName];
    User ID=[username];
    Password=[password];

    Fill in the information similar to the following:

    Provider=Microsoft.Jet.OLEDB.4.0;
    Data Source=C:\databases\mydatabase.mdb;

    C:\databases is the path where the database located on the remote server. Note that if there is no username and password required to access the database, the User ID and Password fields can be deleted.

    Finally, click the test button to test your connection and then click OK if it tests successfully.

  3. Next, create the DataSet by clicking on Windows/Bindings. In this example, the DataSet is named DataSetDropDown. See the sample code below:

    Add <form runat="server"> on the page where you want to add the list/menu. Insert the asp:dropdownlist object between the <form runat="server"> and </form> tags. This object is located in the Insert > ASP.NET Objects menu.

    After you insert the asp:dropdownlist, click on Data to see a dialog box/

    You need to enter the Data Source, Data Text Field and Data Value Field information into each field. For testing purpose, you should enter the information into your Data dialogue box.

    Save the page and preview in the browser or view Live Data. The list/menu should be populated with data from the database.

    The source code of your final page should look close to the following:

    <form runat="server">

             <asp:dropdownlist
             DataMember="datamember"
             DataSource="<%# DataSetDropDown.DefaultView %>"
             DataTextField="LASTNAME"
             DataValueField="EMPLOYEEID"
             ID="dropdownlistid" runat="server">
             </asp:dropdownlist>

    </form>

For your information, here are definitions of each property listed in code example:

DataMember:
When binding data, this attribute specifies the table of a DataSet to use.

DataSource:
When binding data, this attribute specifies the data source to use.

DataTextField:
When binding data, this attribute specifies the field to use for item text values.

DataValueField:
When binding data, this attribute specifies the field to use for item-value values.

Go to page: 1  2 

Printer Friendly Version

Of Interest
· Intranet eXchange Discussion Board


email this page

Tutorials
and more at:
Intranet Journal's Tutorials
Intranet Journal Favorites

Creating a PHP-Based Content Management System

The Spyware Guide

Introduction to Microsoft SharePoint Portal

Intranet Journal
Part of the EarthWeb Network

Managing Editor
Intranet Journal

Tom Dunlap

EarthWeb Home Page
Jupitermedia Home Page

Media Kit





JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES