Dataset. Type conversions.
I am trying to assign a string value to a column in a dataset. But I get an error on compilation "Cannot convert type 'System.Data.DataColumn' to 'string'".
This is the code:
this.agencyDS1.Tables["Agencies"].Columns["AgencyId"] = "A90237";
Thanks.
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

jamesRank #1,153 · 1.6K reputationPosted Sep 24, 2003, 9:07 AM EDT
chumzzz25 reputationPosted Sep 24, 2003, 9:11 AM EDT
jamesRank #1,153 · 1.6K reputationPosted Sep 24, 2003, 9:11 AM EDT
jamesRank #1,153 · 1.6K reputationPosted Sep 24, 2003, 9:17 AM EDT
chumzzz25 reputationPosted Sep 24, 2003, 10:30 AM EDT