I have created a windows application in visual studio 2005, I need to insert a record into a local access database.
I have set up a .xsd, but the problem is im not sure what I'm doing. I have created the insert query, called it from a button click using
and although the page doesn't error a record isn'y inserted, I suspect it has inserted a record into a local recordset, if this is the case how do i update my actual database?Code:Dim PatientUpdate As New AnteNatalBookerDataSetTableAdapters.tblPatientDetailTableAdapter PatientUpdate.NewPatient(nhsNumber, DOB, RBHNumber, surname, forename, prevSurname, title, addStreet, addCity, AddCounty, AddPost, AddAppStreet, AddAppCity, AddAppCounty, AddAppPost, homePhone, workPhone, language, Interpreter, Resident, Visitor, RegGp)


Reply With Quote
