Hi,
i have one object it containd Empdata.
like
var ob=from emp in dbcontext.employee.tolist();
how to perform search operation. means i am take one textbox . if i am enter any one of the text or character then it shows the relevent row.
Example:
SEARCH :
| Ename | department | Location | ------ |
| Abcd | X | Q1 | |
| Bcad | A | Q1 | |
| PQR | Z | X2 | |
| PQR | Z | Q3 |
IF i am enter x then dispaly the follwong maaner
| ENAME | depatrment | location | |
| Abcd | X | Q1 | |
| PQR | Z | X2 | |
USING linq how to write .
condition : now my table contains only 3 filed but in future my table contain 100 fields then how to perform custom search for all fields.
please help me


Manas MohapatraRank #182 · 13.2K reputationPosted Jan 5, 2016, 8:28 PM EST
Nanddeep NachanRank #38 · 35.2K reputationPosted Jan 5, 2016, 8:30 PM EST
Arul RRank #2,478 · 566 reputationPosted Jan 5, 2016, 8:30 PM EST
VEERENDRA kUMAR185 reputationPosted Jan 5, 2016, 8:35 PM EST
Nanddeep NachanRank #38 · 35.2K reputationPosted Jan 5, 2016, 8:43 PM EST
VEERENDRA kUMAR185 reputationPosted Jan 5, 2016, 8:58 PM EST