Read from excel to datatable:How to convert column datatype
I am readind unit price column from excel as oUplifts.sUnit_Price = DtSet.Tables[0].Rows[i]["Unit Price"].ToString().Trim().How can i convert from string to decimal number?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vignesh ManiRank #98 · 22.1K reputationPosted Apr 7, 2016, 2:45 AM EDT
Vignesh ManiRank #98 · 22.1K reputationPosted Apr 7, 2016, 2:48 AM EDT
Austin MutsRank #4,173 · 360 reputationPosted Apr 7, 2016, 3:13 AM EDT