Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Accessing Data
Designing Tables
 How to: Resize Columns in Tables

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Database Tools
How to: Resize Columns in Tables

You can manually change the width of a table column in Table Designer by resizing it or you can automatically resize a column to fit its widest entry. For example, you can widen the Data Type column if it contains user-defined data type names that are too long to see in their entirety.

3hkt75sw.alert_note(en-us,VS.90).gifNote:

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To manually change the width of a column

  1. Position the pointer along the right border of the column header for the column that you want to resize. The cursor changes from an arrow to a splitter pointer.

    3hkt75sw.alert_note(en-us,VS.90).gifNote:

    This works on the tables in the Visual Database Tools, such as the Properties window, as well as your database tables and queries.

  2. Drag the column border to the left to reduce its width or to the right to increase its width.

  3. Release the mouse button.

To resize a column to fit the widest entry

  1. Position the pointer along the right border of the column header for the column that you want to resize. The cursor changes from an arrow to a splitter pointer.

    3hkt75sw.alert_note(en-us,VS.90).gifNote:

    This works on the tables in the Visual Database Tools, such as the Properties window, as well as your database tables and queries.

  2. Double-click the splitter pointer.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker