TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
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
Forums
Monthly Leaders
Forum guidelines
Joma Rajab
NA
110
51.5k
How to write query to retrieve from two linked tables
Jul 26 2016 11:34 AM
I need to retrieve user Id from module Relation table based on the user type which is in user table and they have relationship
Please how to write that query in sql data source tag
<asp:SqlDataSource ID=
"SqlDataSource5"
runat=
"server"
ConnectionString=
"<%$ ConnectionStrings:ConnectionString %>"
SelectCommand=
"SELECT distinct [Full_Name], [UniID] FROM [Users] WHERE [UniID]= (SELECT [UniID]from [ModuleRelation]) AND [user_type]='Staff'"
></asp:SqlDataSource>
Please help
thank you
Reply
Answers (
4
)
Send Message to mobile number
How to get json data in sub object save in datatable usg c#