Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
| 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 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 October 7th, 2005, 06:59 AM
Registered User
Join Date: Oct 2005
Location: Goa, Goa, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to irfanthegame
Default changing Password dynamically in crystal report

Could any one please tell me how do i change the parameters dynamically for a crystal report.

for the first time i am setting the parameter value like this :


it works fine..
but on click of a button "refresh" i want to set the parameter value to a value from textBox "EmpID"
and Re Bind the CrystalReportViewer
i am using this code:

private void Refresh_Click(object sender, System.EventArgs e)
CrystalReport3 cr=new CrystalReport3();
int id=int.Parse(EmpID.Text);
CrystalReportViewer1.DataBind() ;


its not working!!
whats wrong or whats missing
Plz help
thanks in advance

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Crystal Report Dynamically syedjavid Crystal Reports 21 April 30th, 2008 08:06 AM
Crystal Report Dynamically vgsgowrisankar .NET Framework 2.0 4 April 11th, 2008 10:17 AM
dynamically generate crystal report s_sanks Crystal Reports 0 March 3rd, 2008 07:19 AM
Crystal Report Changing Orientation garrysmith68 Beginning VB 6 0 June 6th, 2006 06:42 AM
Changing Crystal report display dynamically Sujith Manuel Crystal Reports 0 December 17th, 2004 01:59 AM

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