Page 1 of 1

show data band when not exist data

Posted: Sat Dec 05, 2009 12:31 pm
by so29
hello
when not exist data for show in data band
data band not show

how to show data band every time?

thank


show data band when not exist data

Posted: Sat Dec 05, 2009 6:55 pm
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;
}