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

need help in updating multiple records(date)

مغلق
بدأه dark silence في 17 أبريل 2007 · 2 رد · 517 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

Dear Brothers,

iam woundring to ask to get a help how to make multiple updates for a date records

which i have row of data in the table and the table contain to columns, which they are date start and date end

i want to update the date end in any row and when i update it the start date in the next row should be updated automaticlly for example 1 day after or 1 week.

I have an ID for every row, so am sure i can use the ID to make the update query, but like am stuck in doing this query...

Note that iam writing the sql query in asp.net page where am using vb.net code

wish get any help from u guyz , and thx

#2

ما بتحتاج لل Id .. كل ما تحتاجه هو الإندكس للصف .. ممكن أعطيك تلميح بيساعد

  ds.Tables[0].Rows["data_end"] = .............; // updating here
  ds.Tables[0].Rows[i+1]["data_start"] = .............; // updating here

You can fly while you can touch the sky

#3

thank u very much for the help

it's working now 100%

i was thinking in same idea almost i got before i read ur reply

but anyway thx

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

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