Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 8th, 2004, 02:49 AM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to zouky
Default how to pass the data from dataset to CR?

dear expert

i write a stored procedure for fetching a particular field on my database which look like this:

USE moneylendersystem
go
CREATE PROCEDURE [dbo].[TOC_Branch_Address]
@BID VARCHAR (50)
as
select Branch_Address
from S_TOC_Branch S
where S.Branch_ID = @BID
GO

the application is like this: everytime the branch login, they will own their unique branch ID, then now i want to use the SP to fetch the address and pass the value print at my report header.

the problem i faced now is : how to pass the branch id using data adapter to my report (@BID)?

i using data adapter for this

daAddress.SelectCommand.CommandText = "TOC_Branch_Address" ;
daAddress.selectCommand.CommandType = CommandType.StoredProcedure;

so, i assume it will fetch my banch address according to @BID, so now how to move to the crystal report??

thank you

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
How to pass parameter value to CR SQL Command vijaykumartaduri BOOK: Professional Crystal Reports for VS.NET 3 July 31st, 2007 12:13 AM
Pass Date parameter from jsp to CR ray5 Crystal Reports 0 September 6th, 2005 09:23 PM
How to pass bulk data(dataset) between webpages jaisonkmathews ADO.NET 10 October 3rd, 2004 02:08 PM
How to pass bulk data(dataset) between webpages jaisonkmathews General .NET 4 September 17th, 2004 09:29 AM
How to pass multiple parameters to CR 9 syedjavid Crystal Reports 1 September 17th, 2003 05:50 AM



All times are GMT -4. The time now is 03:13 AM.


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