[Beta] Loginsystem

Posts 3134 of 34 · Page 3 of 3
Quote Originally Posted by *****179 View Post
Hey blub, got a question for ya, when i get on a comp i'll PM ya.
If the question relate to the loginsystem, feel free to post them here so if any1 has the same problem he can just look up the solution in this thread.

Sorry for the shitty English, just woke up and meehhhh
Quote Originally Posted by Jason View Post


You can select the rows where a certain value is found in a certain column if that's what you mean.

[php]
Dim cmdStr As String = "SELECT * FROM JasonsTable WHERE columnName='RequiredValue'"
Dim newCMD As New MySQLCommand(cmdStr, MySQLConnection)
Using dRead As MySqlDataReader = newCMD.ExecuteReader
Do
dim col1 As String = dRead("column1Name")
dim col2 As String = dRead("column2Name")
'...
MessageBox.Show(String.Concat(col1, ControlChars.CrLf, col2))
Loop While dRead.Read
End Using
[/php]
Just Tested it... no work

Could not find specified column in results: column1Name
What about changing it to the real column names?
now dis:

---------------------------

---------------------------
Error connecting to the server: Invalid attempt to access a field before calling Read()
---------------------------
OK
---------------------------
Posts 3134 of 34 · Page 3 of 3
This thread is closed for replies.

Tags for this Thread

None

Need help?