if (dt.Rows[0]["ClientType"] == "Individual")which gives me this warning:
Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'I have tried things like this:
if ((String)(dt.Rows[0]["ClientType"]) == "Individual")and:
if ((dt.Rows[0]["ClientType"]).ToString() == "Individual")neither of which help.