I have a program that is really simple. another programmer on here wrote but it never worked.
It works when running from source code but when compiling, and installing, it breaks. I need the bug fixed.
I have attached all of the source code.
what it was supposed to do is install MS SQL express when it installs and create a database called medical.
If SQL express is already installed, it will create that database just fine.
the problem comes when creating new records and saving.
I attached all the source code, compile it, and create an installer and run it,
go to a window and click new to create a new record, add some data, and then click save. When running in the IDE, it works, but after compile and install, I get an error anytime I click save.
it is VB.NET and MS SQL express 2005
error upon clicking any save button is:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
[login to view URL]: Operator '=' is not defined for type 'DataRowView' and 'Nothing'.
at RAC_MedicalClinicVB.frmPayer.btnSave_Click(Object sender, EventArgs e)
at [login to view URL](EventArgs e)
at [login to view URL](MouseEventArgs mevent)
at [login to view URL](Message& m, MouseButtons button, Int32 clicks)
at [login to view URL](Message& m)
at [login to view URL](Message& m)
at [login to view URL](Message& m)
at [login to view URL](Message& m)
at [login to view URL](IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)