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
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 | 31 |