Hi
How to handel Null Value in below line. In case value in Tags is Null.
htmlTable.Append("<td >" + string.Join(",", colum.Snippet.Tags.ToArray()) + "</td>");
Thanks
The check like this.
if (colum.Snippet != null) { if (colum.Snippet.Tags.ToArray().Length > 0) { htmlTable.Append("<td >" + string.Join(",", colum.Snippet.Tags.ToArray()) + "</td>"); } }
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.