How to show message "NO DATA" if datasource return nothing?

Stimulsoft Reports.NET discussion
Post Reply
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

How to show message "NO DATA" if datasource return nothing?

Post by amitkaushik »

Hi,

I want to show a message "No Data" when no data returns from sql server for databand?

Thanks,
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to show message "NO DATA" if datasource return nothi

Post by Alex K. »

Hello,

You can use the following code for check the count data:
DataSourceName.Count

Thank you.
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Re: How to show message "NO DATA" if datasource return nothi

Post by amitkaushik »

Thanks,

I want to show that msg in text, so i need to use some function or condition here.
there is any function for it?

regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to show message "NO DATA" if datasource return nothi

Post by HighAley »

Hello.

Please, read the 3.3 Conditional Formatting section of the Stimulsoft Reports Universal User Manual.

Thank you.
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Re: How to show message "NO DATA" if datasource return nothi

Post by amitkaushik »

thanks for valuable advise.

regards.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to show message "NO DATA" if datasource return nothi

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply