r/dot_NET_Development • u/Orionesolutions123 • Feb 29 '20
r/dot_NET_Development • u/DragonOnYoFace • Dec 10 '16
Need help finding an Incorrect syntax near ','
I am working on my final project for school and I am getting an error.
Unclosed quotation mark after the character string ')'.
Incorrect syntax near ','.
Here is my code for working in the Database:
'Dims for Database Dim strSelect As String Dim strInsert As String Dim cmdSelect As OleDb.OleDbCommand Dim cmdInsert As OleDb.OleDbCommand Dim drSourceTable As OleDb.OleDbDataReader Dim intNextHighestRecordID As Integer Dim intRowsAffected As Integer
'open database (MODULE)
If OpenDatabaseConnectionSQLServer() = False Then
' No, warn the user ...
MessageBox.Show(Me, "Database connection error." & vbNewLine & _
"The application will now close.",
Me.Text + " Error",
MessageBoxButtons.OK, MessageBoxIcon.Error)
' and close the form/application
Me.Close()
End If
'get next highest GolferID
strSelect = "SELECT MAX(intGolferID) + 1 AS intNextHighestRecordID " & _
" FROM TGolfers"
' Execute command
cmdSelect = New OleDb.OleDbCommand(strSelect, m_conAdministrator)
drSourceTable = cmdSelect.ExecuteReader
' Read result( highest ID )
drSourceTable.Read()
' Null? (empty table)
If drSourceTable.IsDBNull(0) = True Then
' Yes, start numbering at 1
intNextHighestRecordID = 1
Else
' No, get the next highest ID
intNextHighestRecordID = CInt(drSourceTable.Item(0))
End If
'Build Insert Statement
strInsert = "INSERT into TGolfers (intGolferID, strFirstName, strLastName, strStreetAddress, strCity, strState, strZip, strPhoneNumber, strEmail, intShirtSizeID, intGenderID)" & _
" Values (" & intNextHighestRecordID & ",'" & GInfo.FirstName & "'," & GInfo.LastName & "'," & "'" & GInfo.StreetAddress & "'," & "'" & GInfo.City & "'," & "'" & GInfo.State & "'," & "'" & GInfo.Zip & "'," & "'" & GInfo.PhoneNF & "'," & "'" & GInfo.Email & "','" & GInfo.ShirtSize & "','" & GInfo.Gender & "'" & ")"
'execute the select statement
cmdInsert = New OleDb.OleDbCommand(strInsert, m_conAdministrator)
intRowsAffected = cmdInsert.ExecuteNonQuery() **This is where my error occurs**
If intRowsAffected > 0 Then
MessageBox.Show(GInfo.FirstName & " " & GInfo.LastName & " has been added")
'refresh
frmGolfer.Refresh()
'close form
Me.Close()
'Close Connection
CloseDatabaseConnection()
Else
MessageBox.Show("Addition of New Golfer has failed, please check before continuing", "Add New Failed")
End If
End IfI know it is something easy, it is just that I have been looking at this for the last 1.5 hours and I just need a fresh set of eyes.
Now I know some my look at this and go WTF are you doing, please let it be know I am still learning, and this is the easiest way for me to visualize the way things go together.
r/dot_NET_Development • u/davenicholas589 • Sep 28 '17
ASP.NET MVC Development Company
heliossolutions.inr/dot_NET_Development • u/Jelrae_Farsun • Nov 30 '16
Help with Classes and list of classes
So. I have tried to make a List of a class which has a list of string inside of it. I try to add to that list, but it instead of adding the new class obj to the end of the list, overwrites everything in the list. Any idea why it would be doing this? Here is the code for the class.
Public Class Label
Public Property AssemblyName As String
Public Property AssemblyMaterial As List (Of String)
End Class
Public Class LabelCollection
Public Property PIN As String
Public Property Initials As String
Public Property Size As String
Public Property Side As String
Public Property ImplantName As String
Public Property ImplantMaterial As New List(Of String)
Public Property LabelSet As New List(Of Label)
End ClassI then try to add to the class doing something like:
SampleLable = ........
MasterLabel.LabelSet.Add(SampleLabel)When there are 2 or more labels in there, instead of it being added on, like the documentation suggests, it is instead overwriting the whole LabeSet with the same Label. I am not sure why it would be doing this. I am a bit out of my depth now. Any help would be appreciated.
r/dot_NET_Development • u/itjobspune • Oct 27 '18
Questions You Must Not Miss To Crack the Dot Net Jobs Interview
r/dot_NET_Development • u/miraclegroup123 • Sep 09 '16
Simplify .Net Development with these 11 amazing tools!
r/dot_NET_Development • u/itjobspune • Dec 05 '18
Dot Net Developer Jobs in Surat by Narola Infotech

Narola Infotech is now hiring a Fresher Dot net developer, dot net developer jobs, dot net jobs, dot net jobs for fresher’s, dot net openings in Surat and Pune. Apply our best job dot net opportunity for fresher and experienced candidates get the details and grab the best job now with organization ratings & best salaries.
r/dot_NET_Development • u/indbob • Sep 28 '17
.Net Programmer - Hire IT People
r/dot_NET_Development • u/Yuvraj2106 • Sep 18 '19
Dot net web development company
Rajasri Systems is one of the best Dot net web development company with 20 Years of experience in software development. We develop cross-platform mobile application.
r/dot_NET_Development • u/ProDataMan • Nov 13 '16
Exception Handling in .Net
prodataman-public.sharepoint.comr/dot_NET_Development • u/huhwhathow • Oct 14 '15
What are the best places to learn .NET?
I'm trying to learn .NET, but I'm not finding many good resources. What are some good online resources, books, or other ways to learn .NET? Thanks!
r/dot_NET_Development • u/ArturKarbone • Nov 03 '16
.NET Core gotchas deploying webjobs
craftsmanatwork.gurur/dot_NET_Development • u/elizebethhenry • Oct 19 '15
Want to develop .net software?
r/dot_NET_Development • u/electricessence • Apr 28 '16
IxJS vs TypeScript.NET:System.Linq
https://github.com/Reactive-Extensions/IxJS https://github.com/electricessence/TypeScript.NET/tree/master/source/System.Linq
Been comparing my library for Linq (TypeScript.NET) against IxJS and trying to be critical of my own stuff (was a port from Linq.js). But I think I actually like the more modular approach with TypeScript better. I'm sure there's a d.ts file for IxJS, but it's not the same. As well as System.Linq/Linq.js has some cool optimizations including the use of a ObjectPool<Yielder> when creating an Enumerable.
I dunno. Tell me what you guys think. I'm working hard to ensure there's code coverage in TypeScript.NET.
What's your code style? Do you like monolithic JS libraries like Underscore or Lodash? Or are you more modular?
r/dot_NET_Development • u/Daniel_Born • Apr 11 '17
Is string operator “+” so simple?
r/dot_NET_Development • u/smartguy05 • Nov 07 '16
ID scanning sdk
Does anyone have any experience with a good Drivers License OCR SDK? I've tried LEADTOOLS, but the documentation is not very good and I've not been able to get one example, beyond their demo, to work. The simpler and easier to integrate the better.
r/dot_NET_Development • u/_whyjustwhy • Nov 10 '16
[Beginner] What kind of a .NET template should I choose for my project?
I am supposed to do a Database Management project and I'm using ASP .NET on VS 2012 to do this. I have to make a website with login pages, forms connected to an SQL DB. I need to know what template I need to use. I'm confused between MVC Web Application and Web Forms Application. Suggestions would be appreciated.
r/dot_NET_Development • u/Nathan_4 • Apr 19 '17
Comparing Objects by Value
r/dot_NET_Development • u/enokeenu • Oct 20 '15
Developing a REST API
Hi:
I need to create a REST API to communicate with non .net clients. I have VS 2013 Premium and .NET framework 4.5 . I have seen literature talking about creating it either through WCF or through ASP Web API.
Which one is easier (quicker) ?
Which solution is more likely to not need upgrades in the future?
Thanks
r/dot_NET_Development • u/Daniel_Born • Apr 26 '17