Rules for Table and Column Names in DataSet Passed to Report Writer
Posted: Thu Feb 28, 2008 5:17 pm
I was wondering what the rules are for the names of tables and columns in a DataSet that is passed to Stimulsoft Report Writer.
In my application, each table and field has a "Name" (used for actual database table/field names) and a "Display Name" which can contain spaces, start with numbers, etc. The "Display Name" is what is shown to users. When I created my DataSet to send to the Stimulsoft Report Writer, I used my friendly "Display Name."
Names with spaces seem to work okay, but names that start with numbers do not work because this code generation fails:
Stimulsoft.Report.Dictionary.StiDataColumn("4210 Cancellation Support", "4210 Cancellation Support", "4210 Cancellation Support", typeof(bool))
Please tell me what the rules are for DataSet table and column names.
Thank you,
Sandy
In my application, each table and field has a "Name" (used for actual database table/field names) and a "Display Name" which can contain spaces, start with numbers, etc. The "Display Name" is what is shown to users. When I created my DataSet to send to the Stimulsoft Report Writer, I used my friendly "Display Name."
Names with spaces seem to work okay, but names that start with numbers do not work because this code generation fails:
Stimulsoft.Report.Dictionary.StiDataColumn("4210 Cancellation Support", "4210 Cancellation Support", "4210 Cancellation Support", typeof(bool))
Please tell me what the rules are for DataSet table and column names.
Thank you,
Sandy