Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
How to Get the selected Item id in list box using Linq Query
paddu v
Jul 17 2012 6:25 AM
22.6k
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?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Two Combo Box in GridView
tips for interview preparation 3 years experience .Net developer