C# DataTable 条件查询

DataTable drReport=new DataTable();

DataRow[] pdrs111 = dtReport.Select("code='" + strNoCode + "'");
if (pdrs111.Length > 0)
{
foreach (DataRow dr111 in pdrs111)
{
decfd_1 = Convert.ToDouble(dr111["fd"].ToString());
dr111["fd_no"] = dtNOValue;
dr111["fd_no_toal"] = decfd_1 + dtNOValue;
}
}

你可能感兴趣的:(C++,c,C#)