11-11-16, 07:52 PM
أشكرك جزيل الشكر لكن هل أغير شي على هذه الأكواد
في زر البحث
وفي كلاس Business
لان يظهرلي خطأ
في زر البحث
Object reference not set to an instance of an object
في زر البحث
كود :
ActionOneName.Text = p.Load_Volations_Details(txtFineCode.Text, ActionOne.Text).ToString
ActionOneFees.Text = p.Load_Volations_Details(txtFineCode.Text, ActionOne.Text).ToStringوفي كلاس Business
كود :
Public Function Load_Volations_Details(ByVal VolationCode As Integer, ByVal ActionNumber As Integer) As SqlDataReader
p.Load_Volations_Details(dr, VolationCode, ActionNumber)
Return dr
End Functionفي زر البحث
Object reference not set to an instance of an object
