Hi,
I'm hoping that somebody can help me out with my little problem, and that I'm just being really daft!
Ok, an explaination of what I am attempting to do:
I've got 4 SQL commands which execute depending on a radio button selection. Which command is executed shouldn't matter for the next bit. I want to pass the results of the commands into an Array, this is so that I can do a comparison with the ArrayItems to a pattern. I'm having problems with that too, as ASP.net doesn't support the LIKE statement supposedly!? I've tried doing the following for passing the SQL result to the ArrayList:
Do While counter < No_Letters.SelectedValue
If (txtLtFnd.Text = "") Then
Exit Do
Else
txtLtFnd.Text.CompareTo(ojbCommand.ExecuteReader())
Dim results As ArrayList
If txtLtFnd.Equals(comparison) Then
results.Add(comparison)
Else
Exit Do
End If
End If
Loop
But this won't let the page to be displayed once the Submit button has been clicked!
Can anybody help me with any of this?
Thanks in advance for any pointers or help that you can give me.
Jane
I'm hoping that somebody can help me out with my little problem, and that I'm just being really daft!
Ok, an explaination of what I am attempting to do:
I've got 4 SQL commands which execute depending on a radio button selection. Which command is executed shouldn't matter for the next bit. I want to pass the results of the commands into an Array, this is so that I can do a comparison with the ArrayItems to a pattern. I'm having problems with that too, as ASP.net doesn't support the LIKE statement supposedly!? I've tried doing the following for passing the SQL result to the ArrayList:
Do While counter < No_Letters.SelectedValue
If (txtLtFnd.Text = "") Then
Exit Do
Else
txtLtFnd.Text.CompareTo(ojbCommand.ExecuteReader())
Dim results As ArrayList
If txtLtFnd.Equals(comparison) Then
results.Add(comparison)
Else
Exit Do
End If
End If
Loop
But this won't let the page to be displayed once the Submit button has been clicked!
Can anybody help me with any of this?
Thanks in advance for any pointers or help that you can give me.
Jane