Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~95 People Reached
Favorite Forums
Favorite Tags
Member Avatar for John_92

Try con.Open() MsgBox(con) qry = "Select sum(slpri) From sales where slsnum > '" & 10000 & "'" cmd = New MySqlCommand(qry, con) dr = cmd.ExecuteReader() If dr.Read() Then sum1 = (dr("slpri").ToString) stotxt.Text = sum1 End If con.Close() Catch ex As Exception MsgBox("ERROR:" + ex.Message, MsgBoxStyle.Exclamation, "ERROR") con.Close() End Try

Member Avatar for Reverend Jim
0
93