Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
How to Get the selected Item id in list box using Linq Query
paddu v
12y
22.6k
1
Reply
var names = from s in dbc.Patient_Detail_Tables where s.Name.Contains(txtSearch.Text) select s;
listBox1.DataSource = names;
listBox1.DisplayMember = "Name";
listBox1.ValueMember = "RegitrationNo";
How to get the valuemember using Linq query?
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Two Combo Box in GridView
tips for interview preparation 3 years experience .Net developer