DataTable dt = _dsexportData.Tables["DiagnosisFaultDescription1"]; DataTable dt1 = _dsexportData.Tables["RecommendationDetails"]; foreach (DataRow item in dt.Rows) { if (item[0].ToString() == "Non-standard Fault Detected" && item[1].ToString() == "Moderate") { //how to change other table values here?? } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)