الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

cancel update for specific rows

مغلق
بدأه seco في 26 أبريل 2006 · 5 رد · 594 مشاهدة · في Microsoft Visual Basic.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

i need to cancel update for specific rows

i goto adapter_rowupdating event what i can write to say if the old version of the was something please don't save it back to the database?

Nothing Beat the Human Brain

موبايل 020104927122

#2

لا ادري ماذا تقصد بالضبط

ولكن

اذا كنت تجري عملية وبعد وقبل الانتهاء من العملية تبين لك ان هناك خطا بالعملية يمكنك استخدام خاصية transaction

واستخدام طريقتي commit و rollback التابعين لها

<span style='color:green'>سؤل ابن عباس عن علمه كيف جمعه فقال :( أوتيت لسانا سؤولا وقلبا عقولا)</span>

#3

i have about 4 or 5 rows i don't need the user to update them or delete them

the delete mission ok now ----->

update is still?

i want to make the user not to update or save specific rows which contain a value at spcified column

Nothing Beat the Human Brain

موبايل 020104927122

#4

حط في شرط ال select

where cooulmnx <> youvalue

<span style='color:green'>سؤل ابن عباس عن علمه كيف جمعه فقال :( أوتيت لسانا سؤولا وقلبا عقولا)</span>

#5

no i need to get them from the database . but no update with them

Nothing Beat the Human Brain

موبايل 020104927122

#6

والله مو فاهم

<span style='color:green'>سؤل ابن عباس عن علمه كيف جمعه فقال :( أوتيت لسانا سؤولا وقلبا عقولا)</span>

هذا الموضوع مغلق.

مواضيع مشابهة