Wrox Programmer Forums
C# 2012/5.0 General Discussion Discussions about the C# 2012 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2012/5.0 General Discussion 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 June 5th, 2013, 03:02 PM
Registered User
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default passing info to txtbox on report

My reports are all in a different library and I want to pass a value to a txtbox on a report. It seems that it can be done if I create a property Pricing on the report and then pass a value to that but I would rather just pass the value directly to the txtbox.

I have used report1 rpt1 = new report1
((report1)rpt1).txtPricing = dataset.Pricing

but that does not work of course. Is there a direct way to pass a value to a report field without using properties i.e. public decimal pricing{ get{return this._pricing:} set {this._pricing = value;}}
Old June 6th, 2013, 12:08 AM
Registered User
Join Date: Jun 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default i have two textbox and 2 radiobuttons

1st radiobutton checked then opposit textbox mean txtbox1 is vissible
2nd radiobutton checked then opposit textbox mean txtbox2 is visible

please send code. am in new in .net

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help passing login info to new page peterh Classic ASP Basics 4 January 10th, 2008 12:39 PM
Passing Database Logon Info happyslug BOOK: Professional Crystal Reports for VS.NET 1 February 14th, 2005 08:48 AM
Passing NT Login Info negrette Classic ASP Professional 1 October 25th, 2004 02:37 PM
Passing logon info sandeep Crystal Reports 1 October 6th, 2004 08:41 AM

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