تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
طريقة تعبئة الداتا جريد فيو من اكثر من جدول
#1
السلام عليكم جميعا 
ارجوا منكم كود تعبئة الداتا جريد فيو من اكثر من جدول 
عندى ثلاثة جداول اريد تعبئة الداتا جريد فيو باعمدة مختارة من الثلاثة جدوال وهذا الكود

   Dim da As New SqlDataAdapter("select Student.StudentID,Student.StudentName,Student.StudentNO,Student.StudentPass,Student.StudentGender,Student.StudentNationality,Student.StudentBod,Classroom.ClassroomName,Classes.ClassName,Student.FatherName,Student.FatherJob,Student.FatherMobile,Student.MotherMobile,Student.Homephone,Student.address,Student.FatherNotes,Student.brother1,Student.brother2,Student.brother3,Student.brother4,Student.brotherNotes from Student ,Classroom,Classes  where Student.ClassroomID ,Student.ClassID = Classroom.ClassroomID ,Classes.ClassID ", Con)
الرد }}}
تم الشكر بواسطة:
#2
شكرا لكم على الاهتمام هذا الكود يعمل معايا بشكل جيد بعد عناء 
("select Student.StudentID,Student.StudentName,Student.StudentNO,Student.StudentPass,Student.StudentGender,Student.StudentNationality,Student.StudentBod,Classes.ClassName,Classroom.ClassroomName,Student.FatherName,Student.FatherJob,Student.FatherMobile,Student.MotherMobile,Student.Homephone,Student.address,Student.FatherNotes,Student.brother1,Student.brother2,Student.brother3,Student.brother4,Student.brotherNotes from Student,Classroom,Classes where Student.ClassroomID = Classroom.ClassroomID and Student.ClassID = Classes.ClassID ", Con)


لكى يستفيد الاخرين

  • ("select Student.StudentID,Student.StudentName,Student.StudentNO,Student.StudentPass,Student.StudentGender,Student.StudentNationality,Student.StudentBod,Classes.ClassName,Classroom.ClassroomName,Student.FatherName,Student.FatherJob,Student.FatherMobile,Student.MotherMobile,Student.Homephone,Student.address,Student.FatherNotes,Student.brother1,Student.brother2,Student.brother3,Student.brother4,Student.brotherNotes from Student,Classroom,Classes where Student.ClassroomID = Classroom.ClassroomID and Student.ClassID = Classes.ClassID ", Con)
الرد }}}
تم الشكر بواسطة:


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  سؤولان هامان في الداتا جريد فيو yosif 1 387 21-04-26, 11:18 PM
آخر رد: yosif
  سؤالين في الداتا جريد فيو yosif 0 369 17-04-26, 11:16 AM
آخر رد: yosif
  ممكن ايضاح اكثر لـ continu for justforit 6 675 05-11-25, 12:10 AM
آخر رد: justforit
  [VB.NET] طريقة تفعيل الشاشة الصغيرة في جهاز الكاشير MOHAMMED ALZWI 0 397 25-09-25, 02:17 PM
آخر رد: MOHAMMED ALZWI
  كيف يتم عرض جدول من قائمة listbox في داتاقريدفيو ahmedfa71 5 1,108 04-09-25, 02:59 PM
آخر رد: ahmedfa71
  تعبئة checklistbox جيولوجي مبتدئ 4 1,165 31-08-25, 10:04 PM
آخر رد: مصمم هاوي
  [سؤال] طريقة توسيط النص داخل اداة comboBox سمير1404 7 4,222 24-08-25, 01:01 PM
آخر رد: أبو خالد الشكري
  مساعدة في طريقة تحميل الفيديوهات المخزنة في قاعدة البيانات foad8920 0 807 24-04-25, 12:58 PM
آخر رد: foad8920
  طريقة طباعة ملف pdf بقاعدة بيانات sql heem1986 0 675 25-02-25, 09:31 AM
آخر رد: heem1986
Question [VB.NET] هناك سؤال يهم كل مبرمج الماذا برنامجك يظهر على بعض الشاشات اكثر دقه بشكل مصغر ومشوه Microformt 0 548 01-02-25, 03:48 PM
آخر رد: Microformt

التنقل السريع :


يقوم بقرائة الموضوع: