السلام عليكم
انا طالبة جديدة في كلية IT
وعقب باجر عندي تسليم مشروع
انا كملت المشروع لكن عندي مشكلة لين اسوي ابديت
يطلع لي ايرور
انا فكرة برنامجي اني اسوي مشروع حساب السلري للشركة واضافة موظف جدديد
فلازم نستخدم ديتابيس على الاكسس... فسويت في الاكسس اربع جداول Employeeو Employee_Person وPay_Rollو Salary والجدول الاساسي هو Employee
فناديت ثلاثة جدااول الى فورمة موظف جديد وهم Employee and Employee_Person and salary
فسويت الشيء المشترك بينهم id_Employee
فسويت انسيرت اليهم كلهم
ولكن لين اسوي ابديت مايصير يطلع لي ايرور هل اهو السترنق مايقراه
يعني طريقة قراءة الرقم هو
Employee_PersonalTableAdapter.Insert( _
Employee_idTextBox.Text, _
First_nameTextBox.Text, _
Mid_nameTextBox.Text, _
Last_nameTextBox.Text, _
NationalityComboBox.Text, _
Integer.Parse(Tel_mobileTextBox.Text), _
GenderComboBox.Text, _
Integer.Parse(Passport_noTextBox.Text), _
Date.Parse(Date_Of_BaDateTimePicker.Text), _
Integer.Parse(E_mailTextBox.Text), _
Integer.Parse(Villa_NoTextBox.Text), _
Integer.Parse(Road_noTextBox.Text), _
Integer.Parse(College_noTextBox.Text), _
CityComboBox1.Text, _
Integer.Parse(CPRTextBox.Text))
Employee_PersonalTableAdapter.Fill(Add_Employee_Database_EmployeeDataSet.Employee_Personal)سؤال اشلون اقره الاسم لانه حاولت وياه ولاصار وكله يطلع لي ايرور
وهل يصير اكثر الى ثلاثة جداول ورى بعض يعني هذه الى Employee_Personal