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
Iliyan Naidenov
NA
1
1.7k
Ms Access DB 3 tables in one DataGridView (with C#)
Jun 11 2013 7:52 AM
I have MS Access DB named DataBase01;in it I have 3 tables TProd, TServ, and TUser.
I use
strSQLProd = "SELECT * FROM TProd";
strConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DataBase01.mdb";
OleDbDataAdapter daProd = new OleDbDataAdapter(strSQLProd, strConnection);
to query for data from the first table
What I need is to get the info from all the tables,composit them into one table ,store it in adeqate way (in DataSet's forth table for example or in separate one), present the user with it in DataGridView and after he does changes to it I want to update the info back to the data base.
Can I map that new Table and all of it's collumns to coresponding columns in the child tables. If so by changing one value or another would that update the coresponding values in each table respectivly - if i change value in column 3 in my end table that coresponds to value from the second table for examlpe, would the Update see that the mapping points to that specific table and udate it?
Reply
Answers (
0
)
Menu
Highlight the last created .xls file in a folder