I changed the Gridhelper class inside BuildBody() method, why when the property value is nullable the conversion of string raise the null reference error.
I change the code from:
line 56:
td.InnerHtml = property.GetValue(element, null).ToString();
To:
td.InnerHtml = string.Format("{0}", property.GetValue(element, null));
Hi Manuel,
I changed the Gridhelper class inside BuildBody() method, why when the property value is nullable the conversion of string raise the null reference error.
I change the code from: line 56: td.InnerHtml = property.GetValue(element, null).ToString();
To: td.InnerHtml = string.Format("{0}", property.GetValue(element, null));