5
Answers

Dataset. Type conversions.

chumzzz

chumzzz

21y
1.8k
1
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.

Answers (5)