10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
VEERENDRA kUMAR
1.9k
192
9.9k
linq
Jan 6 2016 1:13 AM
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
Reply
Answers (
6
)
How to Select the Highest value in each Group in linq?
Convert thin query in linq.....