Posted on: 11/18/2014 10:28:34 PM | Views : 386

Hi,
I'm just trying to set up my first task which will then be implemented with similar tasks in a task to run these similar tasks in parallel. As I never have been dealing with tasks or even async ones before I don't know where to put the await and how to put it.
This is what I got so far:
Public Async Function t1Async() As Task(Of Action) For Each str_item1 In str_1arrValuesal str_item1 = str_item1.Replace("pzsplit??pzsplit", " ") taggi3 = ">" & str_item1 & "<" taggi4 = "<" & str_item1 & ">" SQL1 = New SqlCommand SQL1.CommandType = CommandType.StoredProcedure SQL1.CommandText = "selecttag" SQL1.Parameters.Add("@taggi3", SqlDbType.NVarChar).Value = taggi3 SQL1.Connection = axsqlCon1 axsqlC ...

Go to the complete details ...