Find Value in DataTable all Rows and Columns in C# | Search in DataTable if you write program for find value in DataTable all rows and columns and get this row this program help you public static DataTable search_in_all_columns(DataTable dtobj, string searchpram) { DataTable dt = new DataTable(); dt = dtobj.Copy(); dt.Rows.Clear(); if (!string.IsNullOrEmpty(searchpram) && !string.IsNullOrEmpty(searchpram.Trim())) { searchpram = searchpram.ToUpper().Trim(); if (dtobj != null && dtobj.Rows.Count > 0) { ...
My name Lokesh and I'm software Engineer and Tech blogger