Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
nitsmooth
Posts: 6
Registered: ‎02-07-2011
My Device: Not Specified
Accepted Solution

accessing sql server database in my widget

I have just started building widgets for blackberry in visual studio 2008 and i want to know if its possible to use the data from the sql server database in my widget and how can i do so ??

Retired
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: accessing sql server database in my widget

You can consume server-side data within a WebWorks application.  One way of doing this is to constuct a Web Service that, when called from your application, queries the database and returns a list of results (e.g. in XML or JSON format).

 

Have you already made the data in your SQL Server Database availalbe through Web Services?

 

 

Other way is to produce a server-side web page that displays data from your SQL Server database, and load that web page from your WebWorks application.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Contributor
nitsmooth
Posts: 6
Registered: ‎02-07-2011
My Device: Not Specified

Re: accessing sql server database in my widget

Thanks much for you prompt reply !

No i have not made the data available from the sql server database yet