what ever we passing Object1 parameter has multiple Objects.
Collapse | Copy Codepublic static void WritePDF
Type type = typeof(T);
foreach (System.Reflection.PropertyInfo property in type.GetProperties())
{ svalue = type.GetProperty(property.Name).GetValue(Object1, null).ToString();
}
} before this i need to check it and get the inner object value ,How ?
Jignesh TrivediPosted Dec 12, 2013, 7:41 AM
above code is work fine for me.. can please share full description of exception so that we can help you.?