Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
I'm not really sure what the problem is... I was thinking it might have been my variable for, which row I want deleted, but when I highlight it when it throws the error it says the correct row number I want deleted.
Dim deleteThisRow As Integer deleteThisRow = ds.Tables("Firstdb").Rows(inc).Item("InvoiceId") Dim deleteInvoice = (From invo In database.Invoices _ Where invo.InvoiceId = deleteThisRow).ToList()(0) database.Invoices.DeleteOnSubmit(deleteInvoice) database.SubmitChanges()
Join the community of 500,000 technology professionals and ask your questions.