I am calling a stored procedure from ASP.NET code behind
Dim command As New SqlCommand("sPopulateSalesDataCRMLive", mySQLConn)
command.CommandType = CommandType.StoredProcedure
command.Parameters.Add("@SourceFile", SqlDbType.VarChar).Value = "FileName"
mySQLConn.Open()
command.ExecuteNonQuery()
mySQLConn.Close()
If the stored procedure was to return a value, how would my code change??
Thanks
...
Go to the complete details ...