Vb stored procedure not updating database
Execute Reader() Dim DTResults As New Data Table DTResults.
Open() Dim command As New Sql Command(query String, connection) Dim reader As Sql Data Reader = command. To String) End Using Catch ex As Exception Message Box.
Connection = connection 'Assume that it's a stored procedure command type if there is no space in the command text.
That is, you can create a stored procedure or UDF as a method in a Visual Basic class.