(08-04-23, 12:38 AM)سعود كتب :![]()
الاجراء التالي يطلبك d1=DataGridview,d2=DataGridview and l1=Listbox
النتيجة ستظهر باداة القائمة
PHP كود :
Private Sub getDups(d1 As DataGridView, d2 As DataGridView, l1 As ListBox)
l1.Items.Clear()
For Each row As DataGridViewRow In d1.Rows
For Each row2 As DataGridViewRow In d2.Rows
If row2.Cells(1).Value = row.Cells(1).Value Then
l1.Items.Add(row2.Cells(1).Value)
End If
Next
Next
End Sub
لو تتكرموا بكتابة الكود باستخدام الداتا جريد وليس اللست فيو
ولكم جزيل الشكر والتقدير

