如何捕获数据集中的特定值并将其分配给gridview中的标签?
DataSet ds = new DataSet();
Label lblName = e.Row.FindControl("Label1") as Label;
ds = Common.RunByDate(lblName.Text);
DropDownList ddl = e.Row.FindControl("DropDownList1") as DropDownList;
ddl.DataTextField = "RunDate";
ddl.DataValueField = "RunDate";
ddl.DataSource = ds;
ddl.DataBind();
var items = ddl.Items;
在 DS 中,我得到三个值,我必须捕获一个特定的值
TempName Rundate RunBy
test 2012-10-11 chandu
当我从数据集中获取三个值时,我如何才能捕获 RunBy 名称?我该如何过滤它