Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old August 13th, 2007, 11:44 AM
Friend of Wrox
Points: 630, Level: 9
Points: 630, Level: 9 Points: 630, Level: 9 Points: 630, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2005
Location: Austin, TX, USA.
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default running scrolling text from stored procedure in VS

I am updating a VS 6 classic asp file to VS 2005. This asp page contained codes
 to run a scrolling text, which is extracted from a database stored procedure. My first
runn of the scrolling text codes in my VS 2005 returned 2 error messages.

1. Public member 'Execute' on type 'String' not found.
       To get the scrolling text, the classic ASP file has the following codes:

          sqlText = "StoredProcedureName"
          set rdScrollingText=conniTemp.Execute(sqlText)

 What is conniTemp? How it creates a rs? Because VS 2005 does not support
rs, what can we do to get the scrolling text from the stored procedure? Creating
a dataset? How?

2. <marguee> is not supported in VS2005.
    How to run the "marguee" in VS 2005?

Any other information on scrolling text for VS2005 is greatly appreciated.


C. Jeffrey Wang
Reply With Quote
  #2 (permalink)  
Old August 14th, 2007, 03:47 PM
Imar's Avatar
Wrox Author
Points: 71,540, Level: 100
Points: 71,540, Level: 100 Points: 71,540, Level: 100 Points: 71,540, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,998
Thanks: 79
Thanked 1,572 Times in 1,549 Posts

Hi there,

You may want to read up a little on accessing databases. A good place to start is the ADO.NET Quick Starts: http://samples.gotdotnet.com/quickst...sOverview.aspx

You then probably want to use ExecuteScalar: http://msdn2.microsoft.com/en-us/lib...utescalar.aspx

Finally, <marguee> has always been an IE only tag. It's not a matter of whether VS 2005 supports it or not, but whether browsers support it. VS just wants you about that. If you're only targeting IE, you can continue to use it; otherwise, look into JavaScript solutions.


Hope this helps,


Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running stored procedure from .adp module mantle51 Access VBA 1 August 13th, 2007 12:17 PM
Error When Running Stored Procedure Dwizz SQL Server 2000 4 May 15th, 2007 09:07 AM
Running oracle stored procedure from access Justine Access 9 December 21st, 2006 08:36 AM
Running stored procedure in Access VBA Bryon Burbage Access VBA 0 July 21st, 2006 09:14 AM
ASP Code running Stored Procedure kapi.goel ASP.NET 1.0 and 1.1 Basics 0 May 17th, 2006 12:19 AM

All times are GMT -4. The time now is 05:38 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.