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
- January 2025
- December 2024
- 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
Calendar
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |