How to import MySql database to windows phone 8.1 app

Hello everyone I'm Designing a new windows phone 8.1 app and I need some help from you.
I have a database that Im using for the some app but for Windows.
currently using db4free.net
and use this code
  Mysqlconn = New MySqlConnection
        Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=%%%%%; password=%%%%%%%; database=%%%%%%%%"
        Dim READER As MySqlDataReader
        Try
            Mysqlconn.Open()
            Dim Query As String
            Query = "SELECT * FROM Manager WHERE Name='" & TextBox1.Text & "' AND Password='" & TextBox2.Text & " ' "
            Command = New MySqlCommand(Query, Mysqlconn)
            READER = Command.ExecuteReader
            Dim count As Integer
            count = 0
            While READER.Read
                count = count + 1
            End While
            If count = 1 Then
                MsgBox("Mire se vini'" & TextBox1.Text & "'")
                FORMAKRYESORE.Show()
                Me.Close()
            ElseIf count > 1 Then
                MsgBox("Mire se vini'" & TextBox1.Text & "'")
            Else
                MsgBox("Manager'" & TextBox1.Text & "' is not in the data")
            End If
            Mysqlconn.Close()
        Catch ex As MySqlException
            MsgBox(ex.Message)
        Finally
            Mysqlconn.Dispose()
        End Try
this is the code that  I use to login.  but on windows phone cant import Mysql connector. not sure why... any suggestion how to deal with this?
or should I use SQLite? I dont know nothing about the code on SQLite...

If this is supposed to work just on the phone then SQLite or a Local database.
https://msdn.microsoft.com/en-us/library/windows/apps/hh202860(v=vs.105).aspx
For small amounts of data, serializing and deserializing classes to isolated storage is faster.
Phones aren't always connected to the interweb.
Even if you are planning on using a central database on some server and connecting via services, you will almost always also need to store some data locally.
It's in your interest to ask questions in the appropriate forum for the technology you're using.
As it is, you're asking wpf developers a question about windows store app development.
It's similar but different.
Which is probably why Magnus is unaware of local database and I probably omitted something else.
It's not what we do.
I've written a grand total of one windows store apps.
Magnus probably has a similar level of experience.
Hope that helps.
Recent Technet articles:
Property List Editing ;  
Dynamic XAML

Similar Messages

  • How to make backward compatibility of windows phone 8.1 app for windows phone 7?

    I developed windows phone 8.1 app which is in windows phone store. Now, i want to make this app compatible for windows 7 also. Is it possible, if yes then how?

    It may be that you are using non-backward compatible capabilities in your Windows Phone 8.1 app(s).
    Developers that want to develop for different OS's usually have platforms with the different OS's on them for developing applications so they work on each platform.
    I suppose you developed for Windows phone 8.1 rather than Windows phone 7. Therefore your app runs on a different framework than a Windows phone 7 has as well as probably newer hardware with greater capabilities.
    So you will probably need to purchase an older phone that came with Windows phone 7 in order to develop for. I couldn't find documentation like the last link below (App capabilities and hardware requirements for Windows Phone 8) for Windows phone 7
    from Microsoft but maybe you can.
    Windows Phone OS 7.1 - Developing a Windows Phone Application from Start to Finish
    Types of Applications
    The Windows Phone application platform provides two frameworks for developing applications:
    Silverlight
    The Silverlight framework supports event-driven, XAML-based application development.
    XNA
    The XNA Framework supports loop-based games.
    Silverlight and XNA can also be combined in a single application.
    The following table lists some of the criteria that you can use to determine whether you should use Silverlight or the XNA Framework for your Windows Phone application. With Windows Phone OS 7.1, you can combine Silverlight and XNA into one application. 
    For more information about Silverlight and XNA, see
    The Silverlight and XNA Frameworks for Windows Phone. For more information about the application platform, see
    Application Platform Overview for Windows Phone.
    What's New in Windows Phone 8.1
    Platform convergence with Windows Store apps
    Windows Phone 8.1 introduces an important change in the Windows Phone developer ecosystem. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps—Windows Runtime apps.
    Platform convergence began in Windows Phone 8, which supports a small subset of Windows Runtime APIs, but which differs from Windows in many core areas. In Windows Phone 8.1, there’s so much more in common—a much larger API set, a similar app model
    and life cycle, a shared toolset, a common UI framework—Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
    Of course there are still some small differences in behavior and supported features between Windows Phone and Windows Store apps. Some of these are the result of timing of the different product cycles, and they may not appear in future releases. Some differences
    are the result of the different natures of phones and computers, their sizes, and the way people use them. We encourage developers to think in terms of Windows app development—developing for a single Windows Runtime, but targeting two different platforms on
    phones and computers.
    Required Tools for Windows Phone Development
    App capabilities and hardware requirements for Windows Phone
    8
    La vida loca

  • How can Import Mysql my database and Table into website -

    Hi,
    friend i am using CS3 ,i made all need tables in database ,I need  to know
    how can import that database /table into website.
    I know  in domin there is admin Mysql inside i have found impotr/export/ but
    when  I click import i do not know where my database/table been save to  import it

    If all you are trying to do is change an existing tablepace from a single datafile to multiple datafiles, then a simple import will work fine. Just create the tablespace in the new database with multiple files, then do the import normally.
    If you want to move segments into different tablespaces, or change the names of the tablespaces, then you will need to precreate the tables before importing. Then, do the export with indexes=N and constraints=N. Run import with the resulting file, then re-create the constraints and indexes in the new tablespaces.
    TTFN
    John

  • How to print a grid from windows phone 8.1 application

    Hello ,
    I want to print a grid from a windows phone application.
    For tablet I can print using this namespace:
    using Windows.Graphics.Printing;
    using Windows.UI.Xaml.Printing;
    But they are only for Tablet.
    Please suggest a solution of printing from windows 8.1 phone application.
    Thanks

    Hi waqar.haider.confiz,
    >>How to print a grid from windows phone 8.1 application                                 
    As far as I known, in Windows Phone 8.1 app it does not have such API for us to print a grid. I will recommand you submit this feature request on this
    UserVoice forum.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to know whether my Windows Phone 8.1 App is Associated with the store or not?

    How to know whether my Windows Phone 8.1 App is Associated with the store or not? 
    I have an Windows Phone 8 app already in the store , Now i upgraded it to 8.1 it got upgraded to Windows Phone Silverlight 8.1.
    Now iam trying to use Single Sign on feature on this app but it is showing the error message like
    the App is not Configured correctly i followed the process from  Signing users in to OneDrive
    please guide me how to do this?
    Mohan Rajesh Komatlapalli

    You should post to publish forum.

  • How to connect mysql database using xml

    welcome to all,
    here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
    regards

    Short answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.

  • How to Connect MySQL Database Through JTable?

    Hi,
    How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
    Thanks,
    Guru..

    Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
    And you can always search the forum as well since there are working examples of both posted on the forum.
    If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • How to connect mySQL database with jdbc

    Who can tell me how to connect mySQL database with jdbc? Thanks

    http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16

  • How to connect MySql database with JSP

    Dear everyone,
    how to connect MySql database with JSP......

    It's too bad that nobody has ever asked this question before...

  • How to solve this error from window phone 80073cf9 lumia 630.

    any one know how to solve this error from window phone 80073cf9  lumia 630.

    Hello Muhammad,
    We appreciate the post, but this forum is for Windows Store and Phone Developer related questions. Your question can best be answered through the
    Windows Phone support page.
    Thanks!
    -Jonathan
    Windows Store Developer Support
    Office Store Developer Support

  • How to integrate mysql database using prerequisites in visual studio 2010

    how to integrate mysql database exe file using prerequisites in visual studio 2010  and it should be installed when my exe file starts installing.is it possible to integrate mysql database exe?
    S S Manne

    As your question appears to be about application deployment, and not about .NET Framework setup (this forum's topic), please ask here:
    https://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads
    Thank you for your understanding.

  • Make clickable UI-elements for windows Phone 8.1 apps maps

    Windows Phone 8.1 App , C#
    I would like to let the user add Pushpins ( which apparently are called MapIcons ) to the map and when the user clicks the newly created Pushpin some other ui-elements should appear.
    But apparently MapIcons are not clickable and you can not inherit from them since they are sealed, so no luck in making them clickable.
    I tried to just extend from Windows.UI.Xaml.Controls.Button , but those have not Location, probably because the do not belong to the Windows.UI.Xaml.Controls.Maps-namespace. So I can not really add them to the Windows.UI.Xaml.Controls.Maps.MapControl.Children
    or Windows.UI.Xaml.Controls.Maps.MapControl.MapElements, since they will not be on the map where I would want them to be.
    So how do you make a clickable ui-element that I can give a location on the map?
    I already was here
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn792121.aspx#showing_xaml_controls_and_shapes_on_the_map
    But I don't see how I can add clickable elements to my map
    I could write something like this of course
            <Maps:MapControl Grid.Row="1"
                x:Name="map"
                MapServiceToken="token"
                >
                <Maps:MapIcon>
                </Maps:MapIcon>
            </Maps:MapControl>
    But this MapIcon again is not clickable and it also staticly coded. I want to add mine dynamic.

    Hi Michael,
    Yes, as you said the MapIcon is not clickable, then for the workaround, please try to check the reply which posted by @Jogy in here:
    http://stackoverflow.com/questions/25377526/windows-phone-8-1-mapicon-click-event .
    Rest Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create a signature capture for Windows Phone 8.1 App

    I am creating a Windows Phone 8.1 app with signature capture control on one of my page. I am looking for an approach using C# so that I can draw points on a XAML with Canvas control. But it seems like that InkPresenter name space is removed from Windows
    Phone 8.1. Is there anyway I can get it around?
    Thanks, 

    Hi edwlin,
    Please try the suggestion provided by Rob Caplan in this thread:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2a428bef-d7a3-423b-a288-4c4b4efa8034/capture-digital-signature-in-windows-phone-blank-app?forum=wpdevelop
    Quote:
    You can capture the signature by listening to pointer messages and storing the points as they come through. You can then render them as Path segments.
    See Quickstart: Pointers
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • RESOLVED : Windows Phone – Download/In-app reporting fix begins tonight

    Update 4/2/15: The processing is complete.  The below issue is resolved.
    We have identified some download and in-app purchase transactions that were not appearing in the Windows Phone Dev Center dashboard for the November to present timeframe.
    We will start the process to add these transactions back tonight. The process will be completed in approximately a week.
    Please note the following:
    We will add data one month at a time. The most current data will be processed first (March 2015) and then work backwards to November 2014. 
    As each month is processed, you may see increases in your download/in-app reporting numbers for that month.
    You will not lose visibility into any data. 
    Transactions will continue to be shown in the Windows Phone Dev Center portal, while in parallel, we will add back the historical data.
    Only some developers were missing transactions, so you may not see any changes in your download/in-app numbers.
    This issue only impacts
    Windows Phone download/in-app numbers.  Windows Phone payout data, and Windows data is unaffected.
    We will update this post when the process is complete.
    Thank you,
    Patrick

    Hello,
    Skype for Windows Phone 7 has been discontinued and stopped working. Please read this:
    https://support.skype.com/en/faq/FA34489/is-skype-for-windows-phone-7-being-discontinued
    Skype für Windows Desktop: v7.4.x.102
    Skype für Mac OSX: v7.7.335
    ↓ Did my reply answer your question? Accept it as a solution to help others. Thanks! ↓
    ↓ Hat mein Post deine Frage beantwortet? Akzeptiere ihn als Lösung, um anderen zu helfen. Vielen Dank! ↓ .

  • How to Read MYSQL database ?

    Dear everybody!
    I have a MYSQL database that I need to read and to import data to SAP/R3 with ABAP .
    I want to know how to connect and READ this database with ODBC driver.
    I've install the ODBC driver at R3 server, but I can't see MYSQL at list of SAPDB on DBCO transaction.
    Somebody can help me?
    Best regards
    Luciano

    if you have a user in the user table in the mysql database with basically only select permissions you can make them able to access form anywhere by using the % symbol in the host column in the user table. using the % as a wildcard which means anything matches.

Maybe you are looking for

  • Blue Screen of Death after GPIB Software Drivers 2.1 install, nipsbfw.sys, nipalk.sys

    I get a blue screen of death after I upgraded the GPIS Software Drivers to 2.1. The screen complains about the following files: nipsbfw.sys and nipalk.sys. I'll copy down the exact message and post it...

  • HT1420 I have 2 iPads, 1 iPhone, 1 iPod, 2 PCs, and 1 Macbook pro.

    What's with the 5 limit to register in the same account? Why not 10? I bought a new iPad and gave iPad 1 to wife. Bought her iPod, I have iPhone, 2 PCs (Dell and HP) and a MacBook pro. So Apple figures that's too many. I figure it's too many Apple pr

  • How do I reinstall ExportPDF???

    I had to uninstall Adobe ExportPDF and now I can't figure out how to reinstall it.  I see in my account that my subsrciption is still current, but I see nothing on how to reinstall the program.

  • 7.0 Webtemplate print 'no data' results

    Hi, we have migrate a 3.x template to 7.0. After executing this and print it with the broadcaster, all items with no results are hidden. But we need this information, that for his customer no data exist. How can I achieve it. Regards, Adrian

  • Listing text literals and text symbols

    HI, I am able to get list of all text literals used in a program using SCAN ABAP-SOURCE gt_source                 INCLUDE PROGRAM FROM 'ZTEST_AM_ALV2'                 TOKENS INTO gt_tokens                 STATEMENTS INTO gt_stmts. LOOP AT gt_tokens i