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

PHP كود :
public CustomerID as integer
public CustomerName as string
public CustomerAddress as string
public CustomerPhone as string 

ثم ضعها في كودك :

PHP كود :
With DataGridView1
    CustomerID 
= .CurrentRow.Cells("CustomerID").Value.ToString()
 
   CustomerName = .CurrentRow.Cells("CustomerName").Value.ToString()
 
   CustomerAddress = .CurrentRow.Cells("CustomerAddress").Value.ToString()
 
   CustomerPhone = .CurrentRow.Cells("CustomerPhone").Value.ToString()
End With 

و استدعها من أي نافذة تريد :

PHP كود :
CustomerID.Text CustomerID
CustomerName
.Text CustomerName
CustomerAddress
.Text CustomerAddress
CustomerPhone
.Text CustomerPhone 
الرد }}}
تم الشكر بواسطة: elgokr


الردود في هذا الموضوع
RE: استدعاء بيانات العميل الى جدول الفاتورة - بواسطة asemshahen5 - 19-02-19, 11:54 AM


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


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