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
bryan 0
NA
9
0
Dataview and Relationships
May 20 2005 9:31 AM
Hi, How do i input 2 related tables' fields into a dataview which is displayed on a datagrid, choosing the fields (columns) i want to display, anyone knows or have any examples? Table1: ID, Name, Age, Sex, Job Table2: ID, JobName, Salary For example, I created a relationship "Table1Table2" I would like my datagrid to display the fields: ID,Name,Age,Sex,Job,JobName. JobName is from Table2, the others from Table1. Not sure how to do it, these are my codes so far daTable1.Fill(ds) daTable2.Fill(ds) dataview = ds.DefaultView datagrid.Datasource = dataview - help appreciated! thanx!
Reply
Answers (
0
)
problems! problems!!!
Need help with FileInfo.Properties