I would really appreciate if my error is solved in any way. I am getting error on this statement: rentTextBox.Text = Įrror: System.NullReferenceException: 'Object reference not set to an instance of an object.'ĭoesn't make sense to me cause the statement under it is the same just a different name and different table referencing name, but it doesn't show any such error. MessageBox.Show("Your transaction on " + current.ToString() + " of BHD " + rentTextBox.Text + " was successful!!!") Private void button1_Click(object sender, EventArgs e) Private void Rent_Load(object sender, EventArgs e) The following is my code: namespace RegistrationForm
0 Comments
Leave a Reply. |