8
Answers

how to design database with relationship

Hello Guys
 
Please Help Me
 
Firstly I know is this scenario for IT Inventory is right or wrong ? then I will design new system and database for IT Inventory, I designed 3 tables as below:
 
Employees TBL: EmpNo. , EmpID , EmpName , Telephone , Dept. , Mobile ,Email , City , Branch.
New Item TBL : ItemID , ItemBarcode , Model , ItemDesc. , PartNo.
Custody TBL: Connect item With Employee : EmpNo. , ItemBarcode , Model , ItemDesc. , PartNo.
 
I want to define the relationship between three tables above.
 
Thanks.
Answers (8)
0
elham deljooei

elham deljooei

NA 84 49.8k 12y
Hi
i have some Textbox and a dataGridViewX1. i want of user click buttonX1_Search or a row from dataGridViewX1 then i get id from and i can  do update with id.
I want to use of property or event or method from buttonX1_Search or dataGridViewX1 when distinguish selected. Indeed i want to determine when user selected this buttonX1_Search or one row from dataGridViewX1 then run its command. my purpose get Id from table with dsitinguish selected buttonX1 or dataGridViewX1

private void btnUpdatUser_Click(object sender, EventArgs e)
        {
            if (if
buttonX1_Search or dataGridViewX1 selected fro example equal true )
            {

              
            }
            else
            {
                MessageBox.Show("error");
            }
         }

0
Nilesh Avhad

Nilesh Avhad

NA 684 197.2k 12y
Can you clear your problem more precisely or paste your code or design and what you want to do?