Linq contains(term) term having & replaced
admin - December 17, 2021I have wrote a linq query with contains like below
where (sa.Name.Contains(term))
term having space replaced to +% and term having & replaced to 26 . how can I omit it
I want to pass ‘ & e’ like this parameter as term to find exact term in the database .
but now it is replaced so the output is different as per logic.
currently term = ‘ &’ URL pass =’localhost/ss.mvc/term=’+%26′
but I want to pass set url like ‘localhost/ss.mvc/term=’ &’
is there any way to omit this encode by replace contains with any other ?
Archives
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- October 2023
- August 2023
- July 2023
- May 2023
- December 2022
- October 2022
- August 2022
- July 2022
- March 2022
- January 2022
- December 2021
- November 2021
- October 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021