بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
تم كتابة كود التعديل على النحو التالي
Dim UpdateData As New DB.Data_BedaDataContext
Dim x = From beda In UpdateData.Bedas Where beda.Beda_id = txt_beda_id.Text Select beda
x.beda_Name = txt_beda_Name.Text
x.shra_Price = txt_Shra_Price.Text
x.mabee_Price = txt_Mabee_Price.Text
x.Beda_Note = txt_Note.Text
Try
UpdateData.SubmitChanges()
MsgBox("Data Updated")
Catch
' Handle exception.
End Tryالا ان هناك خطأ يظهر بالكود
ارجو تصويب الكود، والاشارة الى مكمن الخطأ الذي وقعت به، حتى اتعلم من خطئي
والف الف شكر