You need to take the Value from the FieldValue:
GenericEntity Manager = (GenericEntity)ge.Values[6].Value;
DataTable dt = new DataTable();
dt.Columns.Add("Name",typeof(string));
dt.Columns.Add("Manager", typeof(string));
DataRow dr;
foreach (GenericEntity ge in qr.Entities)
{
dr = dt.NewRow();
GenericEntity Manager = (GenericEntity)ge.Values[6];
dr[0] = FieldValueToString(ge.Values[0]);
dr[1] = FieldValueToString(Manager.Values[0]);
dt.Rows.Add(dr);
}
dataGridView1.DataSource = dt;
#endregion
x.Logout();
Error 2 Cannot convert type 'Clarizen_ex.ClarizenSvc.FieldValue' to 'Clarizen_ex.ClarizenSvc.GenericEntity' C:\Documents and Settings\santhoshr\Desktop\cllllaaa\Clarizen ex\GetWorkItems.cs 75 41 Clarizen ex
Please sign in to leave a comment.
You need to take the Value from the FieldValue:
GenericEntity Manager = (GenericEntity)ge.Values[6].Value;
Sorry for asking a dumb question, what does this relate to?
Where can one work with this level of information?
Thank you,
Rob
Through the Web Service SOAP API: http://www.clarizen.com/resources/developers.html