Microsoft KB Archive/190588

= FIX: Client-Side Recordset DTC May Create Blank Line =

Article ID: 190588

Article Last Modified on 8/7/2007

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q190588



SYMPTOMS
When you browse to a page that contains a client-side Recordset Design-Time Control (DTC), an extra, blank line may appear.



CAUSE
The client-side Recordset DTC is dynamically created through DHTML when the page is browsed. It dynamically creates an empty HTML element that is attached to an ADO/RDS recordset. This span element takes up space when browsed in Internet Explorer 4.x. Often, this span element is invisible, but if it happens to be followed by a paragraph-type element, such as an element, the span element is forced onto a blank line by itself.



RESOLUTION
To work around this problem, move the Recordset DTC to a different location in the document.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Microsoft Visual Studio 6.0 Service Pack 5. For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx



MORE INFORMATION
In the browser, although the actual "space" consumed by the span element is invisible, if you drag the mouse to select the area around the span element, a character that looks like a dash (-) is visible in the selection.

Steps to Reproduce Behavior
 Create or open a Web project that contains a data connection. Add a new HTML page to the project, and open it for editing. Drag a Recordset DTC from the toolbox to the HEAD section of the page. In the first line of the BODY, type the following text:

Hello, World!

 Save the page, and then browse to it in Internet Explorer 4.x. Notice that a blank line appears above the text "Hello, World!".</li></ol>

Keywords: kbbug kbctrl kbfix KB190588

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.