CSHARPWINDOWSFORM Telegram 439
emp emp1 = new emp();

لاحظ انك اذا اردت الوصول الى اعمدة في جدول ما يجب عليك إنشاء object من هذا الجدول بعد ذلك يمكنك الوصول الى الاعمدة وإسناد القيم اليها

emp1.Id = Convert.ToInt16(textBox1.Text);
emp1.empName = textBox2.Text;
emp1.salary = Convert.ToInt16(textBox3.Text);


في الاخير اجراء التغييرات على قاعدة البيانات واضافة البيانات الجديدة

dbs.emp.Add(emp1);
dbs.SaveChanges();



tgoop.com/CsharpWindowsForm/439
Create:
Last Update:

emp emp1 = new emp();

لاحظ انك اذا اردت الوصول الى اعمدة في جدول ما يجب عليك إنشاء object من هذا الجدول بعد ذلك يمكنك الوصول الى الاعمدة وإسناد القيم اليها

emp1.Id = Convert.ToInt16(textBox1.Text);
emp1.empName = textBox2.Text;
emp1.salary = Convert.ToInt16(textBox3.Text);


في الاخير اجراء التغييرات على قاعدة البيانات واضافة البيانات الجديدة

dbs.emp.Add(emp1);
dbs.SaveChanges();

BY برمجة تطبيقات الويندوز C# Programming


Share with your friend now:
tgoop.com/CsharpWindowsForm/439

View MORE
Open in Telegram


Telegram News

Date: |

Telegram iOS app: In the “Chats” tab, click the new message icon in the right upper corner. Select “New Channel.” 3How to create a Telegram channel? Informative In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. Matt Hussey, editorial director of NEAR Protocol (and former editor-in-chief of Decrypt) responded to the news of the Telegram group with “#meIRL.”
from us


Telegram برمجة تطبيقات الويندوز C# Programming
FROM American