Page 1 of 1

How is detect in Particular Table in particular column count ?

Posted: Tue Jun 26, 2007 11:55 pm
by MARIMUTHU K

Hello Edward,

Subject : How is detect in Particular Table in particular column count ?


We are using SR_2007 in .Net 2.0 framework.

Need : How is detect in Particular Table in particular column count ?
We are using more table and before Render the report i want count the particular column in particular table.

please provide solution ?

Its urgent Help.



Thanks in Advance,


How is detect in Particular Table in particular column count ?

Posted: Wed Jun 27, 2007 1:03 am
by Edward
Please use the following code to obtain the number of Columns in particular DataSource of the report:

Code: Select all

(report.Dictionary.DataSources["Customers"] as StiDataSource).Columns.Count
Thank you.