0

我想从中获取专栏(Description)DataRowView我有以下代码。

protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
        {

            if (e.Row.DataItem != null)
            {
                DataRowView dataRowView = ???????????
                string description = dataRowView["Description"] as string;
            }

        }

如何??????????用适当的代码替换?

4

1 回答 1

0

利用(DataRowView)e.Row.DataItem;

于 2013-06-29T18:22:26.110 回答