SilverLight怎么获取Oracle表中的数据,并显示在DataGrid中

SilverLight如何获取Oracle表中的数据,并显示在DataGrid中
求SilverLight如何获取Oracle表中的数据,并显示在DataGrid中的代码,发到yeziyq@sina.com邮箱。本人将不胜感激。

------解决方案--------------------
Silverlight 和数据库没有直接关系,建议楼主好好学习,天天向上。

学习方向:
Silverlight + WCF + ADO.NET Entity Data Model (应该支持Oracle吧) ,

或者使用 Silverlight 4的话,可以学习
Silverlight 4 + WCF RIA Services + ADO.NET Entity Data Model
------解决方案--------------------
如果你熟悉ADO.net,那么一定熟悉连接oracle的连接串,把下面的连接串改成连接oracle的连接串试试,从oracle 9i以后早就不用了,没有环境所以不能替你试了。

VB.NET code
Private _connectionString As String = "Data Source=HAIHANDE-PC\SQLEXPRESS;Initial Catalog=madaming_database;User ID=sa;Password=madaming@nmcdl.mil.1"
<OperationContract()> Public Function update_student(ByVal new_student As student) As student
        Dim DC As New DCMadamingDataContext(_connectionString)
        Try
            DC.student.Attach(new_student, True)
            DC.SubmitChanges()
            Return new_student
        Catch ex As Exception
        End Try
        Return Nothing
End Function

------解决方案--------------------
支持楼上两位。

这里有一篇介绍Silverlight访问Oracle的图文教程文章,可以参考学习。
http://silverlightchina.net/html/developer/2010/0529/1208.html
------解决方案--------------------
SILVERLIGHT+WCF+LINQ TO SQL