SoFunction
Updated on 2025-03-06

Query the data of the specified field name in C# DataTable

        {
            string Name = strcodeName;
DataRow[] dr = ("Match corresponding field=" + strcodeName);
            if ( > 0)
            {
Name = dr[0]["Destination Field"].ToString();
            }
            return Name;
        }