Search
Sunday, July 06, 2008 ..:: Forum ::.. Register  Login
 
  Forum  Programming  General Program...  Data Source name attribute
Previous Previous
 
Next Next
New Post 1/20/2008 3:32 PM
  david
20 posts
9th Level Poster


Data Source name attribute  

This is a follow up to yesterday's email. The problem that was resolved has to do with the Data Source name attribute within the rtf template and the IReportDataSource(ds, "<name>"); parameter in the C# source code. The names have to match, or be left blank for basic single datasource implementation. My question is that I am unable to trap on an exception when there is a mismatch in the above. Should this throw an exception since an unexpected report is generated (e.g. the template with tags as output)? If not, why?

 
New Post 1/20/2008 3:32 PM
  david
20 posts
9th Level Poster


Re: Data Source name attribute  

This will not throw an exception for a couple of reasons:

  1. When you process a data source, there may be other data sources that will follow. So any tag for another datasource is left as is for that next datasource.
  2. Some users have a need to generate reports that still have tags in them. So after everything is done, there are supposed to be tags remaining.
 
Previous Previous
 
Next Next
  Forum  Programming  General Program...  Data Source name attribute
 Old Windward Forums Minimize


 Print   
 Who's Online Maximize

 Print   
All contents copyright (c) 2002 - 2008 by Windward Studios, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement