Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
How do I Query Dynamically
Glenn Sanchez
Mar 29 2012 1:25 AM
13.3k
Reply
How can I query on a table given as parameter? I just want to check if a record exists.
Example:
String query = "Select * from " + tableName + "t where t.ID='" + fieldvalue + "'";
Regards
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
LINQ to Entities - How to retrieve a data and use it as a variable in the whole project
Join using linq