You must Sign In to post a response.
  • Category: ASP.NET

    Search string and get its column name from datatable

    String[] s=new string (){and,set,eord}

    How to search the above string array in datatable and get that corresponding column name using Linq.
  • #769308
    You can try the following for searching the string from the string array.


    String[] s = { "and", "set", "eord" };
    s.Where(a => a == "and");

    By Nathan
    Direction is important than speed


  • Sign In to post your comments