Hi every one. I post a topic similar with this at mobile development section but posted here too because I need help from a VB.net programmer
I want to create a software for my windows phone 8.1 but already stucked on online database.
I tried to use this VB code that I use for 1 of my softwares
Mysqlconn = New MySqlConnection Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=a****; password=******; database=****" Try Mysqlconn.Open() Dim Query As String Query = "SELECT Count(*) FROM Drejtoret WHERE Name='" & TextBox1.Text & "' AND Password='" & TextBox2.Text & " ' " Command = New MySqlCommand(Query, Mysqlconn) Dim count As Integer = Command.ExecuteScalar If count > 0 Then MsgBox("Welcome'" & TextBox1.Text & "'") 'Assign the property value and show the form Form1.Show() Me.Close() Else MsgBox("Please try again. Your data are not correct", MsgBoxStyle.Critical, "Error!") End If Mysqlconn.Close() Catch ex As MySqlException MsgBox(ex.Message) Finally Mysqlconn.Dispose() End Try
but this doesnt work on windows phone app.
can any one help me?