My code as follows
int columnindex = 43;
List lst = new List();
List
foreach (DataRow row in dtFarmerFarmReports.Rows)
{
var dict = JsonConvert.DeserializeObject>(row["farm_detailsdata"].ToString());
if (dict!=null && dict!= string.Empty)
{
string str = string.Empty;
lst.AddRange(dict.Keys);
}
{
var dict = JsonConvert.DeserializeObject
if (dict!=null && dict!= string.Empty)
{
string str = string.Empty;
lst.AddRange(dict.Keys);
}
}
when i run shows error as follows
Operator '!=' cannot be applied to operands of type 'Dictionary' and 'string'
Operator '!=' cannot be applied to operands of type 'Dictionary
how to fix this error.

Nitin SontakkeRank #264 · 9.6K reputationPosted May 28, 2018, 4:45 AM EDT
Posted May 28, 2018, 8:24 PM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted May 28, 2018, 10:06 PM EDT