Using Silverlight 4 with ODBC

Posted by user1384831 on Stack Overflow See other posts from Stack Overflow or by user1384831
Published on 2012-09-14T21:16:53Z Indexed on 2012/09/14 21:38 UTC
Read the original article Hit count: 502

Filed under:
|
|
|

I'm completely new to Silverlight and I want to connect to a Netezza database with an ODBC connection and pull records to display nicely in Silverlight. What's the easiest way to do this?

From some research, it seems creating a WCF RIA service is what most people do ( http://www.codeproject.com/Articles/354715/Creating-a-WCF-RIA-Services-Class-Library-for-a-Si ) but the process seems a bit convoluted. Coming from an ASP.net background, could I do something simpler like creating an ODBC connection in the code-behind (using System.Data.ODBC functionality), executing a query, storing the returned records in a Datatable and then binding that to some Silverlight control?

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight