How to get a value from a column in a DataView?

后端 未结 4 1213
旧巷少年郎
旧巷少年郎 2021-01-04 23:48

I have a dataview defined as:

DataView dvPricing = historicalPricing.GetAuctionData().DefaultView;

This is what I have tried, but it return

4条回答
  •  借酒劲吻你
    2021-01-05 00:32

    You need to specify the row for which you want to get the value. I would probably be more along the lines of table.Rows[index]["GrossPerPop"].ToString()

提交回复
热议问题