Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 13th, 2007, 11:44 AM
Friend of Wrox
 
Join Date: Oct 2005
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.

TIA,
Jeffrey

__________________
C. Jeffrey Wang
 
Old August 14th, 2007, 03:47 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.

http://www.google.com/search?hl=en&s...g+text&spell=1

Hope this helps,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004





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 09: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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.