微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

View Data From SilverLight

Hi Spark
 I have to write an ADO.net data service for our Silverlight map
 project to consume. Do you kNow how to do this? Preferably in C#.
 If so - how long do you think it will take. Please let Robert and I kNow.
 Congrats on your baby boy!
 
This Question Is My Friend From USA,I do i t a Few months ago,So I
Share with you .
 
Step 1:
Initialize the database (Test Data)   
 

 
Step 2:
Create “SilverlightloaddisplayApplication”  
 

  Step 3:
Check  “WCF RIA Service ”  
 

  Step 4:
add  “ADO.NET Entity Data Model ” 
 

  Step 5:
Check  “Table”   figure 5
 
 

Step 6:
Add  “Domain Service Class” 
 

 
Compile the Silverlight Project then Continue.
  Step 7:
g)Add  “Domain Service Class”  
 
 

 Step 8:
Add  new “Domain Service Class”  

   Step 9:
Design  “MainPage.xaml ”  
 
 

   Step 10:
Code “MainPage.xaml.cs ”  
 

    Step 11:
Result  “ Load And display Data ”  
 
 

 
二、 My development environment as following

  • windows server 2008 r2 EnterPrise
  • sql Server 2008 R2
  • Microsoft Visual Studio 2010

 

三、 This is All,Any question feel free pls contact me.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐