السلام عليكم ورحمة الله
أخي احمد
حدد رقم عمود id في أداة DataGridView
أخي احمد
حدد رقم عمود id في أداة DataGridView
PHP كود :
Dim ids = From x In DataGridView1.Rows Where Not IsNothing(x.Cells(0).Value) Select x.Cells(0).Value
Dim query As String = "Delete From [mkz2] Where [id] In ( " & String.Join(", ", ids) & " ) "
