Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Add, Update, Delete in two tables having one-to-many relationship

$
0
0
Hello Everybody,
I have an access 2007 database called "dbExpenses"
I have two tables in this database named "tblExpenses" and "tblexpensesSub"

One-to-Many Relationship occurs between both the tables
and also Cascade Update and Cascade Delete are set to true
I have a form "frmExpenses" in my Project

Here there are variable no of rows which will be stored in the tblExpensesSub while there is only one row which will be stored in tblExpenses
I am very much confused about Add, Delete and Update in such Critical conditions
Note : The whole form is created dynamically
I have posted this topic on social.msdn.microsoft.com
There I got 1 reply saying that TableAdapterManager in vb.net is designed for my problem
Does anyone know how TableadapterManager is used, as there is not much data available on using tableAdapterManager with dynamically created controls
or If you have any other Ideas please Reply
Does anyone have idea about it?
Thanks in advance

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>