i searched a lot in the internet and finally found the solution, crystal report are slightly modified in the new .net 2005. the key idea is all the crystal report’s reportObjects are accessible. like if you have a text object in your report, its content can be changed on the fly. the code is
TextObject txt;
txt = (TextObject)rpt.ReportDefinition.ReportObjects["Text6"];//Text6 is the name of the textobject u wanna change
txt.Text=”attendance is “+9+”\n\njjj”; //:( the newlines not working yet , i dont know why
shahrear
Easy pleasy… use a formula instead of text object, see http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2015089&sliceId=&dialogID=360384&stateId=1%200%20356275
Comment লিখেছেন anonymous — অক্টোবর 12, 2006 @ 9:20 am
hei anon buddy,
many many thanks.
Comment লিখেছেন pipasharto — অক্টোবর 12, 2006 @ 12:10 pm