Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
You would check the type of the property as well as the count:
if (Model.dataTypeGrid.GetType() == typeof(DynamicXml) && Model.dataTypeGrid.Count() > 0){ //If not empty...}
Work like a charm!
Cheers
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Data Type Grid - Checking if not empty
You would check the type of the property as well as the count:
Work like a charm!
Cheers
is working on a reply...