show data band when not exist data

Stimulsoft Reports.NET discussion
Post Reply
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

show data band when not exist data

Post by so29 »

hello
when not exist data for show in data band
data band not show

how to show data band every time?

thank

Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

show data band when not exist data

Post by Brendan »

You could check if your datasource is empty and if so set the CountData property to 1 on your DataBand in the BeginRender event for your DataBand

Code: Select all

if(MyDataSource.Count <= 0)
{
	DataBand1.CountData = 1;
}
Post Reply