hi
I have the aggregate at the footer of the gird. It work well if you have rows of records.
But i have this situation that at times i do not have any row of record and when i view the page if gave me an error:
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
It is trying to sum a column when there is not a single row of record. How do I overcome this? Thanks
I have the aggregate at the footer of the gird. It work well if you have rows of records.
But i have this situation that at times i do not have any row of record and when i view the page if gave me an error:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
|
It is trying to sum a column when there is not a single row of record. How do I overcome this? Thanks