r/dot_NET_Development • u/dustinmoris • Dec 18 '18
r/dot_NET_Development • u/davenicholas589 • Sep 28 '17
ASP.NET MVC Development Company
heliossolutions.inr/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/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 • 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/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/indbob • Sep 28 '17
.Net Programmer - Hire IT People
r/dot_NET_Development • u/ProDataMan • Nov 13 '16