Posted on: 5/9/2015 7:29:23 AM | Views : 639

hi 
im trying to make loop number from the below statement

Dim strx As String = "select title from product " Using conn As New SqlConnection(ConfigurationManager.ConnectionStrings("xxx").ConnectionString) Dim sqlComm As New SqlCommand(strx, conn) conn.Open() Dim reader As SqlDataReader = sqlComm.ExecuteReader() Dim facilities As String = "" Do While reader.Read() facilities = "item_name_" & loop_number_for_each_while & "=" & reader("title").ToString() + "&" + facilities Loop End Using the thing i want to do here is i want make the output like this
item_name_1=pc&item_name_2=mobile&.......

Go to the complete details ...