Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.
The database 'C:\database\FIRSTDB.MDF' cannot be opened because it is version 706. This server supports version 655 and earlier. A downgrade path is not supported.
Could not open new database 'C:\database\FIRSTDB.MDF'.
CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\database\firstdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Public Class lqdc Inherits DataContext Public invoices As Table(Of Invoice) Public Sub New(ByVal connection As String) MyBase.new(Connection) End Sub End Class Private Sub btnCommit_Click(sender As System.Object, e As System.EventArgs) Handles btnCommit.Click Dim database As New lqdc("C:\database\firstdb.mdf") Dim AddInvoice As New Invoice AddInvoice.OrgId = cbOrgId.SelectedValue AddInvoice.ClientId = cbClientId.SelectedValue AddInvoice.TechId = cbTechId.SelectedValue AddInvoice.theDate = dtpDate.Value AddInvoice.Notes = txtNotes.Text AddInvoice.Parts = txtParts.Text AddInvoice.Labor = txtLabor.Text AddInvoice.Mileage = txtMileage.Text AddInvoice.TotalCost = txtTotalCost.Text AddInvoice.InvoiceNumber = txtInvoiceNumber.Text database.invoices.InsertOnSubmit(AddInvoice) 'errors out right here with using older connection for some reason. database.SubmitChanges() End Sub
Join the community of 500,000 technology professionals and ask your questions.