I added
StiWebDesigner1.GetPreviewDataSet += new StiWebDesigner.StiPreviewDataSetEventHandler(StiWebDesigner1_GetPreviewDataSet);
and
protected void StiWebDesigner1_GetPreviewDataSet(object sender, StiWebDesigner.StiPreviewDataSetEventArgs e)
{
// This is never hit!
}
but my StiWebDesigner1_GetPreviewDataSet is never called even when I hit preview. Am I registering it correctly?
thx!
Report on DataTable
-
- Posts: 251
- Joined: Fri Feb 04, 2011 11:46 am
- Location: San Diego, CA
Report on DataTable
Hello,
Please see the sample project in attachment.
Thank you.
Please see the sample project in attachment.
Thank you.
- Attachments
-
- 848.WebSite1.zip
- (319.93 KiB) Downloaded 215 times
-
- Posts: 251
- Joined: Fri Feb 04, 2011 11:46 am
- Location: San Diego, CA
Report on DataTable
Perfect, thanks!
It looks like the PreviewDataSet can only supply a single DataSet. Is there an ability to provide multiple preview datasets (e.g. from multiple XML files or in memory DataTables)?
Thanks!
It looks like the PreviewDataSet can only supply a single DataSet. Is there an ability to provide multiple preview datasets (e.g. from multiple XML files or in memory DataTables)?
Thanks!
Report on DataTable
Hello,
You can use the following code:
instead
Thank you.
You can use the following code:
Code: Select all
e.Report.RegData(dSet1);
e.Report.RegData(dSet2);
...
Code: Select all
e.PreviewDataSet = dSet;