×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Question How to get data from sql server database?

    Hi

    I make one widget application, in this application need to get data from sql server database. So I need to make connection with database for get data need to send query.

    But I do not know that how I send request to server for sql database connect?

    please help me on this problem.

    Regards,
    SymbianTH

  2. #2
    Registered User
    Join Date
    Sep 2008
    Location
    Manaus, Brazil
    Posts
    109

    Re: How to get data from sql server database?

    You can make a Ajax Request with parameters. Your sever will read those parameters, get data from sql server and print out in XML or json. Is it response your question?
    Javier Zambrano Ferreira

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: How to get data from sql server database?

    Check out this tutorial http://www.tizag.com/ajaxTutorial/aj...l-database.php
    It describes how to create connection to MySql database with PHP. Basically only thing that you might want to change, is to use JSON or XML format for returned data, but that of course depends on you use case.

    -Ilkka

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to get data from sql server database?

    Hi

    Thanks for your reply yes I will try this way to get data from SQL server database.

    Thanks Again
    SymbianTH

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    2

    Re: How to get data from sql server database?

    Hi!
    If you want to decide your difficulties with sql you may visit this tutorial article: mysql introduction.

  6. #6
    Regular Contributor
    Join Date
    Jun 2009
    Posts
    103

    Re: How to get data from sql server database?

    hi

    if you want to retrive data from database, you required a server side page(.asp, .jsp, .php) which retrive the data from database and show on your widgets.


    TJ

Similar Threads

  1. Sending chunks of data from Java ME to SQL Database (ASP.NET)
    By fhardy in forum Mobile Java General
    Replies: 0
    Last Post: 2009-02-03, 12:32
  2. Send data from J2ME to ASP.net + SQL Database
    By fhardy in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-11-18, 14:58
  3. how to use udp, for sending data server to client
    By acayir in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-08-02, 19:18
  4. error sending data to the server. SymbianOS error -1
    By dihex in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-15, 19:55
  5. Replies: 0
    Last Post: 2005-09-02, 07:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×