PDA

Click to See Complete Forum and Search --> : [RESOLVED] crystalreport .rpt file text object


shukla
Dec 23rd, 2008, 04:36 AM
I am using vb.net and crystalreport 9.0

i want a way by which i can put text in textbox object of rpt file at run time.

jggtz
Dec 23rd, 2008, 11:31 AM
Declare the object

Dim objText As CrystalDecisions.CrystalReports.Engine.TextObject = Report.ReportDefinition.Sections(1).ReportObjects("Mytxt")

Assign a value

objText.Text = "ABC def GHI"

daviddoria
Dec 23rd, 2008, 03:24 PM
What about with a rdlc instead of rpt?

shukla
Dec 24th, 2008, 02:53 AM
Thank you very much jggtz .
It works.

What about with a rdlc

I dont know what is that?

jggtz
Dec 24th, 2008, 04:46 PM
RDLC
I dont know what is that?

http://msdn.microsoft.com/en-us/library/ms252067(VS.80).aspx