I am matching two string list (Die_ID_refrence , Die_ID_real) I want to print all the string Values present in string list (Reference) and not in (Real) in to a Text file
//--------------------------------------------------------------------------------------- List Die_ID_refrence = new List(); //List stores All Die_ID from Reference sheet for (int a = 0; a < table5.Rows.Count; a++) { Die_ID_refrence.Add(table5.Rows[a]["Die_ID"].ToString());
}
//------------------------------------------------------------------------------------------ List Die_ID_real = new List(); //List stores All Die_ID from Reference sheet for (int b = 0; b < table3.Rows.Count; b++) { Die_ID_real.Add(table3.Rows[b]["Die_ID"].ToString()); } //--------------------------------------------------------------------------------------- IEnumerable
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted May 20, 2014, 5:50 AM
Jignesh TrivediPosted May 20, 2014, 4:50 AM
Please refer below link it might help you.
http://msdn.microsoft.com/en-us/library/aa287530(v=vs.71).aspx
http://www.c-sharpcorner.com/UploadFile/mahesh/printfile06062007133250PM/printfile.aspx